Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.001535/0.001535, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001644/0.001644, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.392/1.392, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 47.92 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2452, allocations: 53.36 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01121/0.2564, allocations: 9.035 MB / 441.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005669/0.2621, allocations: 2.977 MB / 444.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.2631, allocations: 51.69 kB / 444.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.2646, allocations: 0.6442 MB / 445.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.2668, allocations: 0.7769 MB / 445.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007383/0.2675, allocations: 343.5 kB / 446.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003022/0.2705, allocations: 2.384 MB / 448.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.272, allocations: 1.02 MB / 449.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.2735, allocations: 1.098 MB / 450.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.2756, allocations: 1.386 MB / 452.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004132/0.276, allocations: 280 kB / 452.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007302/0.2767, allocations: 387.8 kB / 452.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008414/0.2775, allocations: 0.8103 MB / 453.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.2789, allocations: 1.264 MB / 454.8 MB, free: 392 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004149/0.2831, allocations: 3.713 MB / 458.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2831, allocations: 0 / 458.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2831, allocations: 0 / 458.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.862e-05/0.2832, allocations: 0 / 458.5 MB, free: 12.66 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00516/0.2883, allocations: 2.582 MB / 461.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.2884, allocations: 12.03 kB / 461.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009583/0.2893, allocations: 299.3 kB / 461.4 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/0.292, allocations: 1.353 MB / 462.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.2921, allocations: 136 kB / 462.9 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002888/0.2924, allocations: 183.9 kB / 463.1 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004034/0.2964, allocations: 2.406 MB / 465.5 MB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.406e-05/0.2965, allocations: 11.92 kB / 465.5 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.2966, allocations: 75.98 kB / 465.6 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.2968, allocations: 87.48 kB / 465.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/0.3002, allocations: 2.02 MB / 467.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.3118, allocations: 7.245 MB / 474.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.3136, allocations: 0.9901 MB / 475.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.3153, allocations: 0.8541 MB / 476.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/0.3155, allocations: 52.89 kB / 476.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.3156, allocations: 39.56 kB / 476.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.085e-06/0.3156, allocations: 4 kB / 476.9 MB, free: 9.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009579/0.3251, allocations: 4.697 MB / 481.6 MB, free: 5.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3252, allocations: 60.41 kB / 481.6 MB, free: 5.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.3273, allocations: 1.393 MB / 483 MB, free: 3.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.325e-05/0.3274, allocations: 41.7 kB / 483.1 MB, free: 3.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007719/0.3282, allocations: 0.9267 MB / 484 MB, free: 2.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.3285, allocations: 368.9 kB / 484.4 MB, free: 2.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003764/0.3289, allocations: 214.9 kB / 484.6 MB, free: 2.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3291, allocations: 353.9 kB / 484.9 MB, free: 1.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.3302, allocations: 0.631 MB / 485.5 MB, free: 1.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.3315, allocations: 0.9298 MB / 486.5 MB, free: 164 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/0.334, allocations: 1.649 MB / 488.1 MB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.334, allocations: 7.938 kB / 488.1 MB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004548/0.3385, allocations: 2.376 MB / 490.5 MB, free: 12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3386, allocations: 8 kB / 490.5 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.3386, allocations: 12.25 kB / 490.5 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.3405, allocations: 0.7165 MB / 491.2 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009226/0.3414, allocations: 235.6 kB / 491.5 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.3535, allocations: 8.53 MB / 500 MB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.3547, allocations: 84.03 kB / 0.4884 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.3548, allocations: 47.98 kB / 0.4884 GB, free: 2.137 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.001229/0.356, allocations: 0.634 MB / 0.489 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.3564, allocations: 151 kB / 0.4892 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.3601, allocations: 1.897 MB / 0.491 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.3601, allocations: 12 kB / 0.491 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3601, allocations: 0 / 0.491 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.3601, allocations: 11.97 kB / 0.491 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00795/0.3681, allocations: 3.965 MB / 0.4949 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.3681, allocations: 0 / 0.4949 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008182/0.3689, allocations: 183.8 kB / 0.4951 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.3702, allocations: 463.1 kB / 0.4955 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.3703, allocations: 31.92 kB / 0.4956 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00732/0.3776, allocations: 6.376 MB / 0.5018 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/0.3776, allocations: 7.969 kB / 0.5018 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004878/0.3825, allocations: 2.78 MB / 0.5045 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009298/0.3834, allocations: 286.9 kB / 0.5048 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/0.3838, allocations: 23.98 kB / 0.5048 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009161/0.3847, allocations: 67.92 kB / 0.5049 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.3849, allocations: 80.84 kB / 0.505 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-05/0.385, allocations: 39.92 kB / 0.505 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001774/0.3868, allocations: 0.9665 MB / 0.5059 GB, free: 15.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3868, allocations: 0 / 0.5059 GB, free: 15.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001572/0.3884, allocations: 431.9 kB / 0.5063 GB, free: 15.22 MB / 430.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.000392/0.3888, allocations: 187 kB / 0.5065 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003691/0.3924, allocations: 1.938 MB / 0.5084 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.3925, allocations: 4 kB / 0.5084 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002184/0.3946, allocations: 1.229 MB / 0.5096 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.3966, allocations: 389.7 kB / 0.51 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007792/0.4044, allocations: 4.135 MB / 0.514 GB, free: 7.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.4062, allocations: 1.677 MB / 0.5157 GB, free: 5.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004791/0.4067, allocations: 107.4 kB / 0.5158 GB, free: 5.418 MB / 430.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4067, allocations: 0 / 0.5158 GB, free: 5.418 MB / 430.1 MB Notification: Performance of Templates: time 0.2421/0.6488, allocations: 53.27 MB / 0.5678 GB, free: 80.27 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 11.448930080980062]