Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9425/0.9425, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.493e-05, allocations: 3.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.006954/0.006969, allocations: 8.382 MB / 332.9 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.01063, allocations: 2.886 MB / 335.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004841/0.01111, allocations: 59.62 kB / 335.9 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009918/0.01211, allocations: 0.6286 MB / 336.5 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.01325, allocations: 0.846 MB / 337.3 MB, free: 3.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.01365, allocations: 363.4 kB / 337.7 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00169/0.01534, allocations: 2.782 MB / 340.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.01639, allocations: 1.121 MB / 341.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.01773, allocations: 1.781 MB / 343.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.0189, allocations: 1.321 MB / 344.7 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002521/0.01915, allocations: 308 kB / 345 MB, free: 11.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.01961, allocations: 415.7 kB / 345.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005493/0.02015, allocations: 0.9193 MB / 346.3 MB, free: 9.949 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006558/0.02081, allocations: 0.9704 MB / 347.3 MB, free: 8.977 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.02338, allocations: 4.168 MB / 351.5 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.02339, allocations: 0 / 351.5 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.02339, allocations: 0 / 351.5 MB, free: 4.797 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.02341, allocations: 0 / 351.5 MB, free: 4.797 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003207/0.02662, allocations: 2.83 MB / 354.3 MB, free: 1.918 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.02667, allocations: 15.98 kB / 354.3 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002735/0.02694, allocations: 295.5 kB / 354.6 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/0.02751, allocations: 331.1 kB / 354.9 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.02924, allocations: 1.495 MB / 356.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.371e-05/0.02934, allocations: 156.4 kB / 356.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.02955, allocations: 204.2 kB / 356.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/0.03252, allocations: 2.836 MB / 359.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/0.03256, allocations: 11.95 kB / 359.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.03269, allocations: 80 kB / 359.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.2e-05/0.03276, allocations: 95.92 kB / 359.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.03535, allocations: 2.322 MB / 362.1 MB, free: 9.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007741/0.04309, allocations: 7.55 MB / 369.6 MB, free: 2.141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.04439, allocations: 1.255 MB / 370.9 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.0456, allocations: 1.019 MB / 371.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.04578, allocations: 44.97 kB / 372 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.04582, allocations: 47.5 kB / 372 MB, free: 15.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 2.936e-06/0.04582, allocations: 0 / 372 MB, free: 15.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=120): time 0.007747/0.05357, allocations: 5.916 MB / 377.9 MB, free: 9.805 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.0536, allocations: 64.41 kB / 378 MB, free: 9.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.05499, allocations: 1.552 MB / 379.5 MB, free: 8.168 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.886e-05/0.05504, allocations: 45.7 kB / 379.6 MB, free: 8.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005396/0.05558, allocations: 1.009 MB / 380.6 MB, free: 7.098 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005603/0.05614, allocations: 428.3 kB / 381 MB, free: 6.676 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.05644, allocations: 255.5 kB / 381.3 MB, free: 6.418 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.05654, allocations: 361.9 kB / 381.6 MB, free: 6.059 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007409/0.05728, allocations: 0.7378 MB / 382.4 MB, free: 5.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009334/0.05822, allocations: 1.052 MB / 383.4 MB, free: 4.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.05996, allocations: 1.875 MB / 385.3 MB, free: 2.137 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.05997, allocations: 4 kB / 385.3 MB, free: 2.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002466/0.06243, allocations: 2.361 MB / 387.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.06245, allocations: 11.28 kB / 387.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.06247, allocations: 8 kB / 387.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005964/0.06306, allocations: 414.4 kB / 388.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/0.06378, allocations: 319.5 kB / 388.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/0.06728, allocations: 4.831 MB / 393.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005908/0.06787, allocations: 91.86 kB / 393.3 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.06795, allocations: 55.98 kB / 393.4 MB, free: 9.801 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009975/0.06895, allocations: 0.7159 MB / 394.1 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.06913, allocations: 170.9 kB / 394.2 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.07148, allocations: 2.133 MB / 396.4 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.07149, allocations: 12 kB / 396.4 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.07149, allocations: 4 kB / 396.4 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.0715, allocations: 3.984 kB / 396.4 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004797/0.0763, allocations: 4.292 MB / 400.7 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.0763, allocations: 4.031 kB / 400.7 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.07681, allocations: 219.7 kB / 400.9 MB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006808/0.07749, allocations: 466.9 kB / 401.4 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.07755, allocations: 31.98 kB / 401.4 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004322/0.08187, allocations: 6.339 MB / 407.7 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.08187, allocations: 3.938 kB / 407.7 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/0.08523, allocations: 3.178 MB / 410.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.08573, allocations: 330.8 kB / 411.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.08586, allocations: 35.98 kB / 411.3 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.08627, allocations: 67.92 kB / 411.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.08646, allocations: 116.7 kB / 411.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.08651, allocations: 35.98 kB / 411.5 MB, free: 7.129 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009963/0.08751, allocations: 1.056 MB / 412.5 MB, free: 6.074 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.08751, allocations: 3.938 kB / 412.5 MB, free: 6.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001048/0.08856, allocations: 467.9 kB / 413 MB, free: 5.613 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003976/0.09253, allocations: 3.807 MB / 416.8 MB, free: 1.734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002177/0.09471, allocations: 2.044 MB / 418.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.09471, allocations: 0 / 418.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.09594, allocations: 1.356 MB / 420.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.09703, allocations: 445.7 kB / 420.6 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/0.1171, allocations: 17.44 MB / 438.1 MB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.1182, allocations: 1.253 MB / 439.3 MB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007971/0.119, allocations: 397.6 kB / 439.7 MB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007586/0.1198, allocations: 0.8088 MB / 440.5 MB, free: 9.312 MB / 410.7 MB Notification: Performance of SimCode: time 1.733e-06/0.1198, allocations: 0 / 440.5 MB, free: 9.312 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2042/0.3239, allocations: 46.62 MB / 487.2 MB, free: 85.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/8.604, allocations: 15.77 kB / 487.2 MB, free: 85.86 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.838764376938343]