Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.0007538/0.0007538, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001756, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007124/0.0007124, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008702/0.001583, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9813/0.9813, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0753/1.057, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.127e-05, allocations: 9.062 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006775/0.006796, allocations: 5.44 MB / 250 MB, free: 8.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.009826, allocations: 1.903 MB / 251.9 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.01009, allocations: 20 kB / 251.9 MB, free: 6.906 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002405/0.01249, allocations: 1.711 MB / 253.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.01361, allocations: 0.5824 MB / 254.2 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.01427, allocations: 398.8 kB / 254.6 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007786/0.01505, allocations: 0.8325 MB / 255.4 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.01611, allocations: 0.7546 MB / 256.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005969/0.0167, allocations: 0.5375 MB / 256.7 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.01714, allocations: 379 kB / 257.1 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.677e-05/0.01724, allocations: 80 kB / 257.1 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.01767, allocations: 255.6 kB / 257.4 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.01779, allocations: 143.5 kB / 257.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.01804, allocations: 231.6 kB / 257.8 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008923/0.01894, allocations: 0.7238 MB / 258.5 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.567e-05/0.01895, allocations: 0 / 258.5 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01895, allocations: 0 / 258.5 MB, free: 268 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.01897, allocations: 0 / 258.5 MB, free: 268 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002869/0.02184, allocations: 1.585 MB / 260.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.02188, allocations: 12.03 kB / 260.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/0.02545, allocations: 0.8864 MB / 261 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.02574, allocations: 244.6 kB / 261.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.02578, allocations: 74.38 kB / 261.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.094e-05/0.02586, allocations: 92.38 kB / 261.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007592/0.02662, allocations: 0.7229 MB / 262.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.02664, allocations: 8.172 kB / 262.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.02669, allocations: 40.38 kB / 262.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.0267, allocations: 27.94 kB / 262.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.0271, allocations: 377.6 kB / 262.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.02924, allocations: 2.379 MB / 264.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.03026, allocations: 0.6534 MB / 265.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.03037, allocations: 140.4 kB / 265.7 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-05/0.03043, allocations: 28.62 kB / 265.7 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.03045, allocations: 39.22 kB / 265.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 1.744e-06/0.03045, allocations: 4 kB / 265.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0003673/0.03082, allocations: 341.9 kB / 266.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.03086, allocations: 115.4 kB / 266.2 MB, free: 8.223 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.03098, allocations: 248.7 kB / 266.5 MB, free: 7.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.03101, allocations: 37.64 kB / 266.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.03113, allocations: 395.8 kB / 266.9 MB, free: 7.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.824e-05/0.03123, allocations: 234 kB / 267.1 MB, free: 7.301 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.03135, allocations: 142.5 kB / 267.2 MB, free: 7.152 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.03142, allocations: 342.8 kB / 267.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.0315, allocations: 86.2 kB / 267.7 MB, free: 6.727 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.03167, allocations: 311.3 kB / 268 MB, free: 6.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.03198, allocations: 465.5 kB / 268.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.03199, allocations: 4 kB / 268.4 MB, free: 5.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0003618/0.03235, allocations: 432.6 kB / 268.9 MB, free: 5.355 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.03236, allocations: 8.875 kB / 268.9 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.03237, allocations: 4 kB / 268.9 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.03238, allocations: 12 kB / 268.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.03282, allocations: 227.7 kB / 269.1 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.03283, allocations: 19.88 kB / 269.1 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.033, allocations: 75.44 kB / 269.2 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.03302, allocations: 28 kB / 269.2 MB, free: 4.988 MB / 266.7 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.03313, allocations: 153.6 kB / 269.4 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.03319, allocations: 47.95 kB / 269.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.03356, allocations: 369.7 kB / 269.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.03356, allocations: 8 kB / 269.8 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.03357, allocations: 3.938 kB / 269.8 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.03357, allocations: 3.984 kB / 269.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007738/0.03435, allocations: 0.7457 MB / 270.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.03435, allocations: 0 / 270.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.03467, allocations: 174.2 kB / 270.7 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.03471, allocations: 47.59 kB / 270.8 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.03471, allocations: 4 kB / 270.8 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.03473, allocations: 16 kB / 270.8 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.03473, allocations: 4 kB / 270.8 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.03474, allocations: 0 / 270.8 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.03518, allocations: 0.6511 MB / 271.4 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.03521, allocations: 16 kB / 271.4 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.03536, allocations: 19.98 kB / 271.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.03541, allocations: 44.52 kB / 271.5 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.03543, allocations: 24.02 kB / 271.5 MB, free: 2.625 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.878e-05/0.03548, allocations: 74.72 kB / 271.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03548, allocations: 0 / 271.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000374/0.03585, allocations: 231.3 kB / 271.8 MB, free: 2.324 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.03602, allocations: 132.2 kB / 272 MB, free: 2.184 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005648/0.03658, allocations: 365.2 kB / 272.3 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/0.0366, allocations: 8.5 kB / 272.3 MB, free: 1.812 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.03673, allocations: 169.8 kB / 272.5 MB, free: 1.645 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.03703, allocations: 84.38 kB / 272.6 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/0.04255, allocations: 1.156 MB / 273.7 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.803e-05/0.04264, allocations: 148.8 kB / 273.9 MB, free: 204 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.04281, allocations: 76.33 kB / 273.9 MB, free: 124 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.04297, allocations: 127.3 kB / 274.1 MB, free: 16 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.04297, allocations: 0 / 274.1 MB, free: 16 MB / 282.7 MB Notification: Performance of Templates: time 0.00757/0.05054, allocations: 5.009 MB / 279.1 MB, free: 11.04 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.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: 2.5914983730763197]