Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.001859/0.001859, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.00257/0.00257, allocations: 215 kB / 24.47 MB, free: 3.777 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.535/1.535, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.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.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 64.39 kB / 347.7 MB, free: 9.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2943, allocations: 49.15 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.00977/0.3041, allocations: 8.518 MB / 405.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006234/0.3103, allocations: 3.3 MB / 408.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.3116, allocations: 56.31 kB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.3134, allocations: 0.6603 MB / 409.4 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.3159, allocations: 0.8806 MB / 410.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.3172, allocations: 465.6 kB / 410.8 MB, free: 332 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003803/0.321, allocations: 2.672 MB / 413.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.3226, allocations: 1.022 MB / 414.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.3245, allocations: 1.206 MB / 415.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.3268, allocations: 1.462 MB / 417.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004499/0.3272, allocations: 306.2 kB / 417.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.3284, allocations: 0.5432 MB / 418 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.3295, allocations: 1.041 MB / 419 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.331, allocations: 1.189 MB / 420.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00503/0.336, allocations: 4.315 MB / 424.5 MB, free: 7.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.336, allocations: 0 / 424.5 MB, free: 7.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.336, allocations: 0 / 424.5 MB, free: 7.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.837e-05/0.3361, allocations: 0 / 424.5 MB, free: 7.449 MB / 334.1 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.00727/0.3434, allocations: 3.161 MB / 427.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3434, allocations: 11.98 kB / 427.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008598/0.3443, allocations: 342.9 kB / 428 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.3475, allocations: 1.556 MB / 429.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.3476, allocations: 156 kB / 429.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003671/0.348, allocations: 207.9 kB / 429.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005245/0.3533, allocations: 2.795 MB / 432.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.29e-05/0.3533, allocations: 11.95 kB / 432.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/0.3535, allocations: 76 kB / 432.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/0.3537, allocations: 91.94 kB / 432.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004402/0.3581, allocations: 2.287 MB / 435.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01475/0.3728, allocations: 7.067 MB / 442.2 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.3759, allocations: 1.309 MB / 443.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/0.3781, allocations: 1.019 MB / 444.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/0.3783, allocations: 44.97 kB / 444.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/0.3784, allocations: 47.5 kB / 444.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.987e-06/0.3784, allocations: 4 kB / 444.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01473/0.3931, allocations: 5.995 MB / 450.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.3932, allocations: 64.72 kB / 450.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003818/0.397, allocations: 2.021 MB / 452.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.3971, allocations: 49.7 kB / 452.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.3982, allocations: 1.129 MB / 453.9 MB, free: 9.539 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005387/0.3988, allocations: 487.9 kB / 454.4 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005168/0.3993, allocations: 243.6 kB / 454.6 MB, free: 8.816 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.3995, allocations: 353.9 kB / 455 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.4011, allocations: 0.7613 MB / 455.7 MB, free: 7.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.4028, allocations: 1.009 MB / 456.8 MB, free: 6.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/0.4063, allocations: 1.858 MB / 458.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.4063, allocations: 0 / 458.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006034/0.4123, allocations: 2.746 MB / 461.4 MB, free: 1.891 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.4124, allocations: 8 kB / 461.4 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.4124, allocations: 4 kB / 461.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/0.4146, allocations: 0.7813 MB / 462.2 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.4158, allocations: 271.6 kB / 462.4 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/0.4297, allocations: 9.248 MB / 471.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.4311, allocations: 87.89 kB / 471.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/0.4313, allocations: 55.98 kB / 471.8 MB, free: 7.234 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001578/0.4329, allocations: 0.7432 MB / 472.5 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005614/0.4335, allocations: 198.8 kB / 472.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00526/0.4387, allocations: 2.464 MB / 475.2 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/0.4388, allocations: 19.98 kB / 475.2 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/0.4388, allocations: 4 kB / 475.2 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/0.4388, allocations: 3.984 kB / 475.2 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.4491, allocations: 4.385 MB / 479.6 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.4491, allocations: 4.156 kB / 479.6 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.4502, allocations: 211.7 kB / 479.8 MB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001891/0.4521, allocations: 0.655 MB / 480.5 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.4522, allocations: 35.98 kB / 480.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.463, allocations: 8.236 MB / 488.8 MB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/0.463, allocations: 4.094 kB / 488.8 MB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007085/0.47, allocations: 3.517 MB / 492.3 MB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.4714, allocations: 358.5 kB / 492.6 MB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005133/0.4719, allocations: 31.94 kB / 492.7 MB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.4732, allocations: 91.89 kB / 492.7 MB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/0.4735, allocations: 112.7 kB / 492.9 MB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.4736, allocations: 39.97 kB / 492.9 MB, free: 1.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002777/0.4764, allocations: 1.407 MB / 494.3 MB, free: 276 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4764, allocations: 0 / 494.3 MB, free: 276 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002253/0.4786, allocations: 0.5274 MB / 494.8 MB, free: 15.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001916/0.4805, allocations: 485.1 kB / 495.3 MB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005001/0.4855, allocations: 2.298 MB / 497.6 MB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4855, allocations: 5.188 kB / 497.6 MB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002919/0.4885, allocations: 1.451 MB / 499.1 MB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.4908, allocations: 389.6 kB / 499.4 MB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.5009, allocations: 5.196 MB / 0.4928 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002399/0.5033, allocations: 1.379 MB / 0.4942 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001304/0.5046, allocations: 366.6 kB / 0.4945 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005176/0.5051, allocations: 127.4 kB / 0.4946 GB, free: 3.891 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5051, allocations: 4 kB / 0.4946 GB, free: 3.887 MB / 414.1 MB Notification: Performance of Templates: time 0.05977/0.5649, allocations: 32.37 MB / 0.5262 GB, free: 3.445 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_withLosses/AIMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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: 6.665732979774475]