Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.001476/0.001476, allocations: 113 kB / 19.04 MB, free: 3.254 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.00189/0.00189, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 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 1.436/1.436, allocations: 225.6 MB / 250.8 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 51.92 kB / 368.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3044, allocations: 52.13 MB / 420.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01108/0.3155, allocations: 9.005 MB / 429.9 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006078/0.3216, allocations: 2.876 MB / 432.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.3229, allocations: 43.81 kB / 432.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.3249, allocations: 0.6368 MB / 433.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.3277, allocations: 0.7652 MB / 434.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3288, allocations: 327.5 kB / 434.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004051/0.3328, allocations: 2.358 MB / 436.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.3344, allocations: 1.028 MB / 437.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.3362, allocations: 1.067 MB / 439 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/0.3382, allocations: 1.374 MB / 440.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004092/0.3386, allocations: 280 kB / 440.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006943/0.3393, allocations: 375.8 kB / 441 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008658/0.3402, allocations: 0.8141 MB / 441.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.3416, allocations: 1.256 MB / 443.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004396/0.346, allocations: 3.686 MB / 446.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.346, allocations: 0 / 446.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.346, allocations: 0 / 446.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.923e-05/0.3461, allocations: 0 / 446.7 MB, free: 5.211 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005562/0.3516, allocations: 2.639 MB / 449.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.3517, allocations: 12.03 kB / 449.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009139/0.3526, allocations: 267.4 kB / 449.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.3553, allocations: 1.401 MB / 451.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.3555, allocations: 132 kB / 451.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/0.3558, allocations: 192.1 kB / 451.4 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004327/0.3601, allocations: 2.41 MB / 453.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.547e-05/0.3602, allocations: 4 kB / 453.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.3603, allocations: 72 kB / 453.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.3605, allocations: 87.48 kB / 453.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003569/0.364, allocations: 2.02 MB / 456 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.3757, allocations: 7.388 MB / 463.3 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.3777, allocations: 1.218 MB / 464.6 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.3795, allocations: 0.869 MB / 465.4 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003577/0.3799, allocations: 114.1 kB / 465.5 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.3799, allocations: 43.56 kB / 465.6 MB, free: 1.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.364e-06/0.3799, allocations: 0 / 465.6 MB, free: 1.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009857/0.3898, allocations: 4.924 MB / 470.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.3898, allocations: 68.39 kB / 470.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.3919, allocations: 1.369 MB / 471.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-05/0.392, allocations: 45.7 kB / 472 MB, free: 11.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008801/0.3929, allocations: 0.9226 MB / 472.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.3932, allocations: 368.9 kB / 473.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003993/0.3936, allocations: 222.8 kB / 473.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000292/0.3939, allocations: 349.9 kB / 473.8 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.3949, allocations: 0.6311 MB / 474.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.3962, allocations: 0.9258 MB / 475.4 MB, free: 7.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.3986, allocations: 1.645 MB / 477 MB, free: 6.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.3986, allocations: 4 kB / 477 MB, free: 6.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004545/0.4031, allocations: 2.379 MB / 479.4 MB, free: 3.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.4032, allocations: 8 kB / 479.4 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.4032, allocations: 12.25 kB / 479.4 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/0.4052, allocations: 0.7081 MB / 480.1 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009328/0.4062, allocations: 235.6 kB / 480.4 MB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.4178, allocations: 8.731 MB / 489.1 MB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.419, allocations: 91.95 kB / 489.2 MB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-05/0.4191, allocations: 48 kB / 489.2 MB, free: 9.547 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * 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%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00111/0.4202, allocations: 0.6223 MB / 489.9 MB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.4205, allocations: 151.1 kB / 490 MB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/0.4239, allocations: 1.893 MB / 491.9 MB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4239, allocations: 19.92 kB / 491.9 MB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4239, allocations: 4 kB / 491.9 MB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4239, allocations: 3.984 kB / 491.9 MB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006796/0.4307, allocations: 3.993 MB / 495.9 MB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.4307, allocations: 0 / 495.9 MB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008306/0.4315, allocations: 183.7 kB / 496.1 MB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/0.4328, allocations: 463 kB / 496.6 MB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.404e-05/0.4328, allocations: 27.98 kB / 496.6 MB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00712/0.44, allocations: 6.702 MB / 0.4915 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.44, allocations: 4 kB / 0.4915 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004564/0.4445, allocations: 2.765 MB / 0.4942 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009088/0.4454, allocations: 368 kB / 0.4945 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.4456, allocations: 27.98 kB / 0.4946 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007454/0.4464, allocations: 67.92 kB / 0.4946 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.4466, allocations: 76.83 kB / 0.4947 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/0.4467, allocations: 35.98 kB / 0.4947 GB, free: 7.551 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001513/0.4482, allocations: 0.9581 MB / 0.4957 GB, free: 6.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4482, allocations: 0 / 0.4957 GB, free: 6.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001407/0.4496, allocations: 431.9 kB / 0.4961 GB, free: 6.168 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (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) * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * 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,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003551/0.45, allocations: 186.9 kB / 0.4963 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003506/0.4535, allocations: 1.938 MB / 0.4982 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4535, allocations: 3.938 kB / 0.4982 GB, free: 4.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.4558, allocations: 1.305 MB / 0.4994 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.4577, allocations: 377.7 kB / 0.4998 GB, free: 2.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007354/0.4651, allocations: 4.096 MB / 0.5038 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.4667, allocations: 1.689 MB / 0.5054 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00105/0.4677, allocations: 312 kB / 0.5057 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.468, allocations: 95.42 kB / 0.5058 GB, free: 11.99 MB / 430.1 MB Notification: Performance of SimCode: time 1.633e-06/0.468, allocations: 4 kB / 0.5058 GB, free: 11.98 MB / 430.1 MB Notification: Performance of Templates: time 0.04607/0.5141, allocations: 25.08 MB / 0.5303 GB, free: 3.125 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 5.657142784446478]