Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001195/0.001195, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009286/0.0009286, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8774/0.8774, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 318.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.948e-05, allocations: 2.281 kB / 318.5 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01019/0.01021, allocations: 11.31 MB / 329.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006295/0.01651, allocations: 4.033 MB / 333.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.01777, allocations: 95.44 kB / 333.9 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.01968, allocations: 0.9743 MB / 334.9 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.0222, allocations: 1.378 MB / 336.2 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.0234, allocations: 0.8171 MB / 337.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003322/0.02673, allocations: 4.193 MB / 341.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.02839, allocations: 1.706 MB / 343 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/0.03088, allocations: 2.827 MB / 345.8 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.03274, allocations: 1.804 MB / 347.6 MB, free: 8.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005645/0.0333, allocations: 0.5078 MB / 348.1 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008764/0.03418, allocations: 0.7026 MB / 348.8 MB, free: 7.699 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000622/0.0348, allocations: 1.169 MB / 350 MB, free: 6.527 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.03601, allocations: 1.446 MB / 351.4 MB, free: 5.078 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004228/0.04024, allocations: 6.813 MB / 358.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.04024, allocations: 4 kB / 358.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.04024, allocations: 0 / 358.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.562e-05/0.04031, allocations: 0 / 358.2 MB, free: 14.24 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.005896/0.0462, allocations: 4.377 MB / 362.6 MB, free: 9.805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.04624, allocations: 8.031 kB / 362.6 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004155/0.04666, allocations: 447.1 kB / 363 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/0.04876, allocations: 0.8339 MB / 363.9 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.05134, allocations: 2.4 MB / 366.3 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.05145, allocations: 238.6 kB / 366.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/0.05176, allocations: 312.3 kB / 366.8 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004479/0.05624, allocations: 4.416 MB / 371.2 MB, free: 1.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-05/0.05629, allocations: 0 / 371.2 MB, free: 1.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/0.0565, allocations: 132 kB / 371.4 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.625e-05/0.0566, allocations: 146.2 kB / 371.5 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003945/0.06054, allocations: 3.651 MB / 375.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.07233, allocations: 11.92 MB / 387.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/0.07529, allocations: 2.564 MB / 389.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.07668, allocations: 1.304 MB / 390.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003574/0.08026, allocations: 3.029 MB / 394 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.08029, allocations: 47.5 kB / 394 MB, free: 9.965 MB / 362.7 MB Notification: Performance of pre-optimization done (n=124): time 2.635e-06/0.0803, allocations: 4 kB / 394 MB, free: 9.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.008081/0.08838, allocations: 6.065 MB / 400.1 MB, free: 3.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.08842, allocations: 64.72 kB / 400.2 MB, free: 3.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.09024, allocations: 1.89 MB / 402 MB, free: 1.887 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/0.0903, allocations: 49.7 kB / 402.1 MB, free: 1.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007046/0.09101, allocations: 1.463 MB / 403.6 MB, free: 364 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.09127, allocations: 0.5036 MB / 404.1 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.09159, allocations: 303.5 kB / 404.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.09167, allocations: 301.1 kB / 404.7 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008232/0.09249, allocations: 0.7613 MB / 405.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.09351, allocations: 1.249 MB / 406.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/0.09543, allocations: 2.111 MB / 408.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.09543, allocations: 8 kB / 408.8 MB, free: 10.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002773/0.09821, allocations: 2.653 MB / 411.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.09823, allocations: 8 kB / 411.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.09824, allocations: 16 kB / 411.5 MB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007964/0.09904, allocations: 0.5061 MB / 412 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007526/0.09979, allocations: 387.4 kB / 412.3 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005224/0.105, allocations: 6.626 MB / 419 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006104/0.1056, allocations: 71.95 kB / 419 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.013e-05/0.1057, allocations: 68 kB / 419.1 MB, free: 152 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001215/0.1069, allocations: 1.056 MB / 420.2 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.1071, allocations: 202.7 kB / 420.4 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/0.1098, allocations: 2.337 MB / 422.7 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1098, allocations: 12 kB / 422.7 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.1098, allocations: 11.98 kB / 422.7 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1098, allocations: 3.984 kB / 422.7 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005571/0.1154, allocations: 5.011 MB / 427.7 MB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1154, allocations: 4 kB / 427.7 MB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.1159, allocations: 215.7 kB / 427.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007113/0.1166, allocations: 0.5074 MB / 428.5 MB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.31e-05/0.1167, allocations: 31.98 kB / 428.5 MB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006927/0.1236, allocations: 10.79 MB / 439.3 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1236, allocations: 3.984 kB / 439.3 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003709/0.1273, allocations: 3.401 MB / 442.7 MB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006082/0.1279, allocations: 402.6 kB / 443.1 MB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.1281, allocations: 28 kB / 443.1 MB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/0.1286, allocations: 71.94 kB / 443.2 MB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.1288, allocations: 124.9 kB / 443.3 MB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.1288, allocations: 39.98 kB / 443.3 MB, free: 7.152 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001267/0.1301, allocations: 1.286 MB / 444.6 MB, free: 5.875 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1301, allocations: 0 / 444.6 MB, free: 5.875 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001364/0.1314, allocations: 0.582 MB / 445.2 MB, free: 5.293 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003963/0.1354, allocations: 4.006 MB / 449.2 MB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1344/0.2698, allocations: 2.312 MB / 451.5 MB, free: 120.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.2698, allocations: 1.094 kB / 451.5 MB, free: 120.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.2716, allocations: 1.659 MB / 453.2 MB, free: 120.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.2731, allocations: 0.5151 MB / 453.7 MB, free: 120.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/0.2962, allocations: 21.31 MB / 475 MB, free: 103.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.2974, allocations: 1.819 MB / 476.8 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008246/0.2982, allocations: 412.8 kB / 477.2 MB, free: 101.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008097/0.299, allocations: 1.149 MB / 478.4 MB, free: 100.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.299, allocations: 3.719 kB / 478.4 MB, free: 100.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05715/0.3562, allocations: 58.85 MB / 0.5246 GB, free: 42.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/8.908, allocations: 0 / 0.5246 GB, free: 42.23 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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: 12.765274905599654]