Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001386/0.001386, allocations: 84.39 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001349/0.001349, allocations: 164.9 kB / 25.6 MB, free: 8.102 MB / 18.57 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.027/1.027, allocations: 158.6 MB / 187.5 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] 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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 251.5 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.431e-05, allocations: 2.312 kB / 251.5 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005244/0.005269, allocations: 3.923 MB / 255.4 MB, free: 3.27 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.006912, allocations: 0.9043 MB / 256.3 MB, free: 2.355 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.007148, allocations: 11.94 kB / 256.3 MB, free: 2.344 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.007366, allocations: 87.08 kB / 256.4 MB, free: 2.258 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.007714, allocations: 198.3 kB / 256.6 MB, free: 2.062 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.008089, allocations: 143.7 kB / 256.8 MB, free: 1.922 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006476/0.008736, allocations: 0.6962 MB / 257.5 MB, free: 1.223 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.009019, allocations: 143.6 kB / 257.6 MB, free: 1.074 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.009497, allocations: 387.1 kB / 258 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.009772, allocations: 231.2 kB / 258.2 MB, free: 480 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.773e-05/0.00985, allocations: 52 kB / 258.3 MB, free: 428 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.118e-05/0.009931, allocations: 56 kB / 258.3 MB, free: 372 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.009e-05/0.01002, allocations: 131.4 kB / 258.4 MB, free: 240 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.01021, allocations: 215.4 kB / 258.6 MB, free: 24 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004699/0.01068, allocations: 438.5 kB / 259.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.01069, allocations: 4 kB / 259.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01069, allocations: 0 / 259.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.0107, allocations: 0 / 259.1 MB, free: 15.59 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001097/0.01179, allocations: 0.9084 MB / 260 MB, free: 14.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.01184, allocations: 11.98 kB / 260 MB, free: 14.63 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.01198, allocations: 104.6 kB / 260.1 MB, free: 14.53 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.01237, allocations: 304.1 kB / 260.4 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.0124, allocations: 37.38 kB / 260.4 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.01248, allocations: 56.36 kB / 260.5 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000581/0.01306, allocations: 0.5109 MB / 261 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.01307, allocations: 192 / 261 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.01311, allocations: 24.38 kB / 261 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.01313, allocations: 15.94 kB / 261 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.01337, allocations: 140 kB / 261.2 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.01567, allocations: 1.513 MB / 262.7 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.01594, allocations: 214 kB / 262.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.535e-05/0.01604, allocations: 86.94 kB / 263 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.01606, allocations: 8.312 kB / 263 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.01609, allocations: 41.39 kB / 263 MB, free: 11.39 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.943e-06/0.01609, allocations: 0 / 263 MB, free: 11.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009835/0.01708, allocations: 0.5384 MB / 263.6 MB, free: 10.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.01711, allocations: 81.11 kB / 263.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.01741, allocations: 402.3 kB / 264 MB, free: 10.31 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.01743, allocations: 33.7 kB / 264.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.01762, allocations: 334.8 kB / 264.4 MB, free: 9.938 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.139e-05/0.0177, allocations: 122.9 kB / 264.5 MB, free: 9.816 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.01781, allocations: 83.75 kB / 264.6 MB, free: 9.727 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.01796, allocations: 0.5195 MB / 265.1 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.01803, allocations: 36.97 kB / 265.2 MB, free: 9.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.01817, allocations: 173.1 kB / 265.3 MB, free: 8.941 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.01841, allocations: 235.9 kB / 265.6 MB, free: 8.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01841, allocations: 0 / 265.6 MB, free: 8.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004704/0.01888, allocations: 336.3 kB / 265.9 MB, free: 8.316 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.0189, allocations: 11.94 kB / 265.9 MB, free: 8.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.01891, allocations: 4 kB / 265.9 MB, free: 8.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000363/0.01927, allocations: 107.5 kB / 266 MB, free: 8.188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.01948, allocations: 79.91 kB / 266.1 MB, free: 8.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.02184, allocations: 3.804 MB / 269.9 MB, free: 4.078 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.02199, allocations: 27.92 kB / 269.9 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.02201, allocations: 12 kB / 269.9 MB, free: 4.039 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.02215, allocations: 184.4 kB / 270.1 MB, free: 3.848 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/0.02223, allocations: 51.77 kB / 270.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.02227, allocations: 43.2 kB / 270.2 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.02228, allocations: 4 kB / 270.2 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.02228, allocations: 4.188 kB / 270.2 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.02229, allocations: 7.984 kB / 270.2 MB, free: 3.742 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008114/0.0231, allocations: 0.7386 MB / 271 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.0231, allocations: 0 / 271 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.02322, allocations: 47.91 kB / 271 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003091/0.02353, allocations: 107.2 kB / 271.1 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.02355, allocations: 4 kB / 271.1 MB, free: 2.797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.02539, allocations: 3.816 MB / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.02539, allocations: 8.094 kB / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.02591, allocations: 0.5683 MB / 275.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.02596, allocations: 35.75 kB / 275.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.02599, allocations: 7.938 kB / 275.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.0262, allocations: 27.98 kB / 275.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.02626, allocations: 31.89 kB / 275.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.02628, allocations: 11.98 kB / 275.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001835/0.02646, allocations: 259 kB / 275.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02646, allocations: 0 / 275.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000499/0.02696, allocations: 120 kB / 276 MB, free: 13.67 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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,5,100.0%), (1,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.0001316/0.02709, allocations: 103.2 kB / 276.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008543/0.02795, allocations: 0.5295 MB / 276.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.02795, allocations: 0 / 276.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.02831, allocations: 467.1 kB / 277.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.02872, allocations: 58.3 kB / 277.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.03014, allocations: 0.8765 MB / 278 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.168e-05/0.03023, allocations: 117.7 kB / 278.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.03035, allocations: 39.27 kB / 278.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.03053, allocations: 142.2 kB / 278.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.03053, allocations: 4 kB / 278.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of Templates: time 0.008982/0.03952, allocations: 4.797 MB / 283.1 MB, free: 6.457 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.403089951723814]