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.00175/0.00175, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.002068/0.002068, allocations: 189.2 kB / 24.47 MB, free: 4.168 MB / 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.413/1.413, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001589/0.001589, allocations: 51.92 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2566, allocations: 52.19 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01161/0.2682, allocations: 8.994 MB / 432.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005854/0.274, allocations: 2.872 MB / 435.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.2754, allocations: 55.62 kB / 435.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.2772, allocations: 0.6368 MB / 436.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002506/0.2797, allocations: 0.7808 MB / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000837/0.2805, allocations: 319.5 kB / 437.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0034/0.2839, allocations: 2.362 MB / 439.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.2855, allocations: 1.02 MB / 440.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.2872, allocations: 1.094 MB / 442 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.2895, allocations: 1.374 MB / 443.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004583/0.2899, allocations: 283.9 kB / 443.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008068/0.2907, allocations: 383.8 kB / 444 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008755/0.2916, allocations: 0.8063 MB / 444.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.2934, allocations: 1.26 MB / 446.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004562/0.2979, allocations: 3.686 MB / 449.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2979, allocations: 0 / 449.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2979, allocations: 4 kB / 449.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000102/0.298, allocations: 3.938 kB / 449.8 MB, free: 4.609 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.006246/0.3043, allocations: 2.564 MB / 452.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.3043, allocations: 8.031 kB / 452.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008583/0.3052, allocations: 267.4 kB / 452.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.308, allocations: 1.337 MB / 454 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.3081, allocations: 132 kB / 454.1 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/0.3085, allocations: 192.1 kB / 454.3 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004316/0.3128, allocations: 2.41 MB / 456.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-05/0.3128, allocations: 4 kB / 456.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.313, allocations: 72 kB / 456.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.3131, allocations: 87.48 kB / 456.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003828/0.3169, allocations: 2.02 MB / 458.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/0.3298, allocations: 7.257 MB / 466.1 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.3317, allocations: 0.9854 MB / 467.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.3334, allocations: 0.8612 MB / 468 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.3337, allocations: 52.91 kB / 468 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.3337, allocations: 39.56 kB / 468.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 4.349e-06/0.3337, allocations: 7.938 kB / 468.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.00993/0.3436, allocations: 4.689 MB / 472.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.3437, allocations: 60.41 kB / 472.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.3459, allocations: 1.38 MB / 474.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.3461, allocations: 41.7 kB / 474.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007909/0.3469, allocations: 0.9227 MB / 475.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/0.3472, allocations: 372.8 kB / 475.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/0.3476, allocations: 214.9 kB / 475.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3478, allocations: 353.9 kB / 476.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.3488, allocations: 0.631 MB / 476.7 MB, free: 9.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.3501, allocations: 0.922 MB / 477.7 MB, free: 8.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.3525, allocations: 1.645 MB / 479.3 MB, free: 6.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.3525, allocations: 8 kB / 479.3 MB, free: 6.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004541/0.357, allocations: 2.379 MB / 481.7 MB, free: 4.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.3571, allocations: 8 kB / 481.7 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.3571, allocations: 12.25 kB / 481.7 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.359, allocations: 0.7119 MB / 482.4 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009622/0.3599, allocations: 239.5 kB / 482.6 MB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.3717, allocations: 8.519 MB / 491.2 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.3729, allocations: 100.1 kB / 491.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.3731, allocations: 44 kB / 491.3 MB, free: 10.17 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.001106/0.3742, allocations: 0.6224 MB / 491.9 MB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/0.3745, allocations: 147.1 kB / 492.1 MB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/0.3781, allocations: 1.893 MB / 494 MB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.3781, allocations: 12 kB / 494 MB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.3781, allocations: 4 kB / 494 MB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3781, allocations: 3.984 kB / 494 MB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007363/0.3855, allocations: 3.961 MB / 497.9 MB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.3855, allocations: 4 kB / 498 MB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008378/0.3863, allocations: 179.7 kB / 498.1 MB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.3876, allocations: 459.1 kB / 498.6 MB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/0.3877, allocations: 31.92 kB / 498.6 MB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007052/0.3947, allocations: 6.385 MB / 0.4932 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3947, allocations: 0 / 0.4932 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00476/0.3995, allocations: 2.788 MB / 0.4959 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009127/0.4004, allocations: 290.9 kB / 0.4962 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.4006, allocations: 24 kB / 0.4962 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007866/0.4014, allocations: 63.97 kB / 0.4962 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.4016, allocations: 92.75 kB / 0.4963 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/0.4017, allocations: 31.98 kB / 0.4964 GB, free: 8.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001512/0.4032, allocations: 0.9543 MB / 0.4973 GB, free: 7.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4032, allocations: 0 / 0.4973 GB, free: 7.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001601/0.4048, allocations: 439.9 kB / 0.4977 GB, free: 7.301 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.0003935/0.4052, allocations: 183 kB / 0.4979 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003597/0.4088, allocations: 1.93 MB / 0.4998 GB, free: 5.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4088, allocations: 4 kB / 0.4998 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.411, allocations: 1.233 MB / 0.501 GB, free: 3.879 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.4128, allocations: 378.5 kB / 0.5013 GB, free: 3.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00724/0.4201, allocations: 4.129 MB / 0.5054 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.4216, allocations: 1.673 MB / 0.507 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004742/0.422, allocations: 99.42 kB / 0.5071 GB, free: 13.52 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4221, allocations: 4 kB / 0.5071 GB, free: 13.51 MB / 430.1 MB Notification: Performance of Templates: time 0.251/0.6731, allocations: 52.93 MB / 0.5588 GB, free: 95.29 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/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: 11.987543457187712]