Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 116 kB / 18.45 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 194.9 kB / 21.4 MB, free: 1.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 207.6 MB / 231.8 MB, free: 4.211 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 59.91 kB / 342.3 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.1013, allocations: 49.12 MB / 391.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03177/0.1331, allocations: 27.19 MB / 418.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02011/0.1532, allocations: 8.028 MB / 426.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006125/0.1594, allocations: 175.4 kB / 426.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02304/0.1824, allocations: 9.463 MB / 436.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01279/0.1952, allocations: 3.436 MB / 439.7 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006379/0.2016, allocations: 1.837 MB / 441.5 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01994/0.2215, allocations: 12.29 MB / 453.8 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2592/0.4807, allocations: 18.66 MB / 472.5 MB, free: 8.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01246/0.4931, allocations: 6.552 MB / 479 MB, free: 8.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01277/0.5059, allocations: 7.354 MB / 486.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005837/0.5117, allocations: 1.847 MB / 488.2 MB, free: 7.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008362/0.5201, allocations: 2.212 MB / 490.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006336/0.5264, allocations: 3.684 MB / 494.1 MB, free: 6.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01481/0.5412, allocations: 7.005 MB / 0.4894 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03742/0.5786, allocations: 24.82 MB / 0.5136 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.5787, allocations: 0 / 0.5136 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5787, allocations: 0 / 0.5136 GB, free: 496 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008646/0.5795, allocations: 0 / 0.5136 GB, free: 496 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05348/0.633, allocations: 14.93 MB / 0.5282 GB, free: 1.559 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/0.6331, allocations: 8.031 kB / 0.5282 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008837/0.6419, allocations: 1.818 MB / 0.53 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05497/0.6969, allocations: 9.525 MB / 0.5393 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02144/0.7183, allocations: 6.922 MB / 0.5461 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/0.7194, allocations: 0.8134 MB / 0.5469 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00586/0.7253, allocations: 1.076 MB / 0.5479 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05793/0.7832, allocations: 18.75 MB / 0.5662 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006431/0.7839, allocations: 15.95 kB / 0.5662 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005804/0.7897, allocations: 454.8 kB / 0.5667 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009906/0.7907, allocations: 0.6988 MB / 0.5673 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04633/0.837, allocations: 18.22 MB / 0.5851 GB, free: 7.652 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1385/0.9755, allocations: 59.5 MB / 0.6432 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4591/1.435, allocations: 46.18 MB / 0.6883 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007688/1.442, allocations: 3.892 MB / 0.6921 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02253/1.465, allocations: 12.38 MB / 0.7042 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.683e-05/1.465, allocations: 73.42 kB / 0.7043 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=385): time 5.681e-06/1.465, allocations: 0 / 0.7043 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=391): time 0.04111/1.506, allocations: 19.41 MB / 0.7233 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/1.506, allocations: 94.69 kB / 0.7233 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006633/1.513, allocations: 4.348 MB / 0.7276 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008608/1.514, allocations: 89.27 kB / 0.7277 GB, free: 124.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002788/1.516, allocations: 4.995 MB / 0.7326 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001656/1.518, allocations: 1.419 MB / 0.7339 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001968/1.52, allocations: 1.287 MB / 0.7352 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/1.52, allocations: 304.8 kB / 0.7355 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004228/1.524, allocations: 3.117 MB / 0.7385 GB, free: 118.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005648/1.53, allocations: 5.74 MB / 0.7441 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/1.541, allocations: 9.449 MB / 0.7534 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001101/1.541, allocations: 24 kB / 0.7534 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01855/1.56, allocations: 10.26 MB / 0.7634 GB, free: 96.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.56, allocations: 43.84 kB / 0.7634 GB, free: 96.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/1.56, allocations: 88 kB / 0.7635 GB, free: 96.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003578/1.564, allocations: 1.445 MB / 0.7649 GB, free: 95.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005111/1.569, allocations: 1.466 MB / 0.7664 GB, free: 93.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/1.583, allocations: 11.47 MB / 0.7776 GB, free: 82.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006634/1.59, allocations: 395.5 kB / 0.778 GB, free: 81.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00183/1.592, allocations: 331.9 kB / 0.7783 GB, free: 81.37 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (752): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009797/1.602, allocations: 4.184 MB / 0.7824 GB, free: 77.17 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002047/1.604, allocations: 469 kB / 0.7828 GB, free: 76.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/1.619, allocations: 7.31 MB / 0.7899 GB, free: 69.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009854/1.629, allocations: 5.988 MB / 0.7958 GB, free: 63.37 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.562e-05/1.629, allocations: 12 kB / 0.7958 GB, free: 63.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.483e-05/1.629, allocations: 23.86 kB / 0.7958 GB, free: 63.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0378/1.667, allocations: 16.29 MB / 0.8117 GB, free: 47.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/1.667, allocations: 0 / 0.8117 GB, free: 47.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003401/1.671, allocations: 0.7255 MB / 0.8124 GB, free: 46.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003593/1.674, allocations: 1.293 MB / 0.8137 GB, free: 45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007645/1.675, allocations: 95.91 kB / 0.8138 GB, free: 44.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/1.688, allocations: 10.19 MB / 0.8237 GB, free: 34.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.688, allocations: 0 / 0.8237 GB, free: 34.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/1.706, allocations: 10.52 MB / 0.834 GB, free: 24.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003631/1.709, allocations: 1.068 MB / 0.8351 GB, free: 22.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001885/1.711, allocations: 75.98 kB / 0.8351 GB, free: 22.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003866/1.715, allocations: 243.7 kB / 0.8354 GB, free: 22.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/1.716, allocations: 271.5 kB / 0.8356 GB, free: 22.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007231/1.717, allocations: 116 kB / 0.8357 GB, free: 22.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005878/1.723, allocations: 2.908 MB / 0.8386 GB, free: 19.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.723, allocations: 3.938 kB / 0.8386 GB, free: 19.31 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008593/1.731, allocations: 1.84 MB / 0.8404 GB, free: 17.47 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (360): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01659/1.748, allocations: 11.25 MB / 0.8514 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2672/2.015, allocations: 7.569 MB / 0.8588 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/2.015, allocations: 1 kB / 0.8588 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008442/2.024, allocations: 3.381 MB / 0.8621 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006286/2.03, allocations: 1.091 MB / 0.8631 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1149/2.145, allocations: 61.95 MB / 0.9236 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01265/2.157, allocations: 7.032 MB / 0.9305 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007953/2.165, allocations: 2.244 MB / 0.9327 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007121/2.172, allocations: 3.877 MB / 0.9365 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.954e-06/2.172, allocations: 0 / 0.9365 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4829/2.655, allocations: 141.7 MB / 1.075 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.37/24.03, allocations: 13.34 kB / 1.075 GB, free: 148.8 MB / 0.5294 GB " [Timeout remaining time 636] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 27.560368968639523]