Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.001546/0.001546, allocations: 111 kB / 21.19 MB, free: 0.4961 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.00169/0.00169, allocations: 214.7 kB / 24.48 MB, free: 3.809 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.426/1.426, allocations: 230.6 MB / 258.2 MB, free: 7.785 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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2141, allocations: 53.37 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02304/0.2372, allocations: 18.59 MB / 451 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.2501, allocations: 6.512 MB / 457.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.2526, allocations: 175.2 kB / 457.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01544/0.2681, allocations: 6.385 MB / 464 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008019/0.2761, allocations: 2.822 MB / 466.9 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003975/0.2801, allocations: 1.556 MB / 468.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01089/0.291, allocations: 9.185 MB / 477.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01518/0.3061, allocations: 11.06 MB / 488.7 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00614/0.3123, allocations: 4.777 MB / 493.4 MB, free: 9.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006897/0.3192, allocations: 5.241 MB / 498.7 MB, free: 4.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001799/0.321, allocations: 1.352 MB / 0.4883 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.3239, allocations: 1.687 MB / 0.49 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002321/0.3262, allocations: 2.627 MB / 0.4925 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004325/0.3305, allocations: 3.845 MB / 0.4963 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01866/0.3492, allocations: 18.32 MB / 0.5142 GB, free: 8.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3492, allocations: 0 / 0.5142 GB, free: 8.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3492, allocations: 0 / 0.5142 GB, free: 8.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002591/0.3494, allocations: 0 / 0.5142 GB, free: 8.156 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.02584/0.3753, allocations: 10.66 MB / 0.5246 GB, free: 13.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3753, allocations: 8.031 kB / 0.5246 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03406/0.4094, allocations: 5.899 MB / 0.5304 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.4213, allocations: 5.776 MB / 0.536 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004617/0.4218, allocations: 0.554 MB / 0.5365 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001491/0.4233, allocations: 0.7381 MB / 0.5373 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1978/0.6211, allocations: 13.04 MB / 0.55 GB, free: 85.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/0.6212, allocations: 10.25 kB / 0.55 GB, free: 85.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007915/0.622, allocations: 308.9 kB / 0.5503 GB, free: 85.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003283/0.6224, allocations: 499.9 kB / 0.5508 GB, free: 85.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.6378, allocations: 12.55 MB / 0.563 GB, free: 75.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04018/0.6779, allocations: 35.98 MB / 0.5982 GB, free: 39.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.6889, allocations: 8.514 MB / 0.6065 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003251/0.6922, allocations: 2.917 MB / 0.6093 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/0.6924, allocations: 95.12 kB / 0.6094 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.6925, allocations: 77.78 kB / 0.6095 GB, free: 28.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.692e-06/0.6925, allocations: 0 / 0.6095 GB, free: 28.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.04021/0.7327, allocations: 16.74 MB / 0.6258 GB, free: 12.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.7328, allocations: 94.67 kB / 0.6259 GB, free: 12.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004527/0.7373, allocations: 2.694 MB / 0.6286 GB, free: 9.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003215/0.7376, allocations: 93.7 kB / 0.6286 GB, free: 9.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001719/0.7393, allocations: 3.147 MB / 0.6317 GB, free: 6.539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001137/0.7405, allocations: 1.469 MB / 0.6332 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001897/0.7424, allocations: 0.9543 MB / 0.6341 GB, free: 4.125 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.062e-05/0.7424, allocations: 309.1 kB / 0.6344 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004937/0.7473, allocations: 2.501 MB / 0.6368 GB, free: 1.312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007425/0.7548, allocations: 4.134 MB / 0.6409 GB, free: 12.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/0.7652, allocations: 7.195 MB / 0.6479 GB, free: 4.531 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.393e-05/0.7652, allocations: 16 kB / 0.6479 GB, free: 4.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01449/0.7797, allocations: 7.971 MB / 0.6557 GB, free: 12.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.7797, allocations: 28 kB / 0.6557 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.935e-05/0.7798, allocations: 56.06 kB / 0.6558 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00346/0.7832, allocations: 1.194 MB / 0.6569 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004313/0.7876, allocations: 1.139 MB / 0.658 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/0.804, allocations: 10.65 MB / 0.6684 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003702/0.8077, allocations: 275.7 kB / 0.6687 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004225/0.8082, allocations: 236 kB / 0.6689 GB, free: 14.74 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004556/0.8127, allocations: 2.956 MB / 0.6718 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006901/0.8134, allocations: 345.8 kB / 0.6721 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.826, allocations: 6.625 MB / 0.6786 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.039e-05/0.826, allocations: 48 kB / 0.6787 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.826, allocations: 8 kB / 0.6787 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.156e-05/0.8261, allocations: 23.91 kB / 0.6787 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02356/0.8496, allocations: 13.09 MB / 0.6915 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.8497, allocations: 4 kB / 0.6915 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003269/0.8529, allocations: 0.7605 MB / 0.6922 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003182/0.8561, allocations: 1.082 MB / 0.6933 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002702/0.8564, allocations: 104 kB / 0.6934 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01457/0.871, allocations: 9.6 MB / 0.7028 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.871, allocations: 8 kB / 0.7028 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/0.887, allocations: 9.954 MB / 0.7125 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002276/0.8893, allocations: 0.8641 MB / 0.7133 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000467/0.8898, allocations: 87.94 kB / 0.7134 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/0.8917, allocations: 203.8 kB / 0.7136 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006075/0.8923, allocations: 315.1 kB / 0.7139 GB, free: 268 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002953/0.8926, allocations: 124 kB / 0.714 GB, free: 144 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002735/0.8953, allocations: 1.794 MB / 0.7158 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8953, allocations: 0 / 0.7158 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004101/0.8994, allocations: 1.387 MB / 0.7171 GB, free: 12.95 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005299/0.8999, allocations: 266.2 kB / 0.7174 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01107/0.911, allocations: 6.469 MB / 0.7237 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.911, allocations: 3.938 kB / 0.7237 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00593/0.9169, allocations: 3.31 MB / 0.7269 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/0.9201, allocations: 0.7319 MB / 0.7276 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02227/0.9424, allocations: 14.21 MB / 0.7415 GB, free: 3.801 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1895/1.132, allocations: 4.601 MB / 0.746 GB, free: 180.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004478/1.136, allocations: 1.586 MB / 0.7476 GB, free: 180.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009815/1.137, allocations: 326.6 kB / 0.7479 GB, free: 180.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.02e-07/1.137, allocations: 1.562 kB / 0.7479 GB, free: 180.6 MB / 0.545 GB Notification: Performance of Templates: time 0.08505/1.222, allocations: 65.03 MB / 0.8114 GB, free: 134.6 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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: 7.3158311219885945]