Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_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_1_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 0.001659/0.001659, allocations: 51.92 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1084, allocations: 53.33 MB / 426.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2309/0.3393, allocations: 13.57 MB / 439.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008598/0.3479, allocations: 4.549 MB / 444.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002807/0.3507, allocations: 100.5 kB / 444.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00312/0.3538, allocations: 1.039 MB / 445.6 MB, free: 376 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.3587, allocations: 1.31 MB / 446.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.3616, allocations: 0.8933 MB / 447.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00743/0.369, allocations: 4.068 MB / 451.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00533/0.3743, allocations: 2.255 MB / 454.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004651/0.379, allocations: 1.95 MB / 456.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005366/0.3844, allocations: 2.268 MB / 458.3 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002095/0.3864, allocations: 0.5095 MB / 458.8 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00371/0.3902, allocations: 0.7339 MB / 459.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002744/0.3929, allocations: 1.157 MB / 460.7 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006607/0.3995, allocations: 2.137 MB / 462.9 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.4118, allocations: 6.814 MB / 469.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4118, allocations: 0 / 469.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4118, allocations: 0 / 469.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000246/0.4121, allocations: 1.281 kB / 469.7 MB, free: 2.609 MB / 366.1 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.01703/0.4291, allocations: 4.528 MB / 474.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.4291, allocations: 10.34 kB / 474.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001846/0.431, allocations: 441.8 kB / 474.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005752/0.4367, allocations: 0.8443 MB / 475.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007383/0.4441, allocations: 2.514 MB / 478 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003916/0.4445, allocations: 237.1 kB / 478.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/0.446, allocations: 323.9 kB / 478.6 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.4575, allocations: 4.262 MB / 482.8 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.698e-05/0.4575, allocations: 3.953 kB / 482.8 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/0.4579, allocations: 128 kB / 483 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/0.458, allocations: 146.1 kB / 483.1 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007108/0.4651, allocations: 3.667 MB / 486.8 MB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02418/0.4893, allocations: 13.44 MB / 0.4885 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007429/0.4968, allocations: 6.762 MB / 0.4951 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002422/0.4992, allocations: 1.31 MB / 0.4964 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00713/0.5063, allocations: 3.889 MB / 0.5002 GB, free: 9.461 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.5064, allocations: 51.56 kB / 0.5002 GB, free: 9.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.274e-06/0.5064, allocations: 0 / 0.5002 GB, free: 9.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01498/0.5213, allocations: 6.682 MB / 0.5067 GB, free: 2.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.5214, allocations: 64.72 kB / 0.5068 GB, free: 2.445 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/0.5244, allocations: 1.896 MB / 0.5086 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.5245, allocations: 53.64 kB / 0.5087 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.5257, allocations: 1.475 MB / 0.5101 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004523/0.5261, allocations: 0.5151 MB / 0.5106 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005006/0.5266, allocations: 307.5 kB / 0.5109 GB, free: 14.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5268, allocations: 301.1 kB / 0.5112 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.528, allocations: 0.7652 MB / 0.512 GB, free: 13.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.5297, allocations: 1.224 MB / 0.5132 GB, free: 11.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/0.5329, allocations: 2.108 MB / 0.5152 GB, free: 9.406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.5329, allocations: 4 kB / 0.5152 GB, free: 9.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004926/0.5378, allocations: 2.672 MB / 0.5178 GB, free: 6.715 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.5379, allocations: 8 kB / 0.5178 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.5379, allocations: 20.28 kB / 0.5179 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.5393, allocations: 0.4978 MB / 0.5183 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.5409, allocations: 383.4 kB / 0.5187 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009215/0.5501, allocations: 6.926 MB / 0.5255 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.552, allocations: 83.84 kB / 0.5256 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/0.5521, allocations: 71.98 kB / 0.5256 GB, free: 14.45 MB / 446.1 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.00231/0.5545, allocations: 1.048 MB / 0.5267 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004905/0.5549, allocations: 206.7 kB / 0.5268 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004606/0.5596, allocations: 2.488 MB / 0.5293 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.5596, allocations: 23.94 kB / 0.5293 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.5596, allocations: 8 kB / 0.5293 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.5596, allocations: 7.969 kB / 0.5293 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009283/0.5689, allocations: 5.534 MB / 0.5347 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.5689, allocations: 0 / 0.5347 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.5699, allocations: 219.9 kB / 0.5349 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.5713, allocations: 499.8 kB / 0.5354 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.5714, allocations: 35.98 kB / 0.5354 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/0.5831, allocations: 11.43 MB / 0.5466 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5831, allocations: 240 / 0.5466 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006069/0.5892, allocations: 3.579 MB / 0.5501 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.5903, allocations: 471.6 kB / 0.5506 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/0.5905, allocations: 28 kB / 0.5506 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009551/0.5915, allocations: 71.94 kB / 0.5506 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/0.5918, allocations: 109 kB / 0.5508 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.5919, allocations: 44.36 kB / 0.5508 GB, free: 3.648 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002104/0.594, allocations: 1.302 MB / 0.5521 GB, free: 2.355 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.594, allocations: 0 / 0.5521 GB, free: 2.355 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002263/0.5963, allocations: 0.5976 MB / 0.5526 GB, free: 1.758 MB / 462.1 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.006288/0.6025, allocations: 4.176 MB / 0.5567 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004467/0.607, allocations: 2.32 MB / 0.559 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.607, allocations: 0 / 0.559 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002693/0.6097, allocations: 1.665 MB / 0.5606 GB, free: 9.402 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/0.6124, allocations: 0.5286 MB / 0.5611 GB, free: 8.883 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03703/0.6495, allocations: 21.36 MB / 0.582 GB, free: 2.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002534/0.652, allocations: 2.379 MB / 0.5843 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001505/0.6535, allocations: 417 kB / 0.5847 GB, free: 96 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/0.6552, allocations: 1.173 MB / 0.5859 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/0.6552, allocations: 0 / 0.5859 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3569/1.012, allocations: 56.15 MB / 0.6407 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.71, allocations: 3.719 kB / 0.6407 GB, free: 166.8 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 21.39318701904267]