Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001202/0.001202, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001348/0.001348, allocations: 167.9 kB / 25.33 MB, free: 9.465 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 0.9261/0.9261, allocations: 158.6 MB / 187.2 MB, free: 2.949 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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 251 MB, free: 7.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.847e-05, allocations: 2.312 kB / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.007765/0.007794, allocations: 5.727 MB / 256.8 MB, free: 1.77 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004568/0.01236, allocations: 1.858 MB / 258.6 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008723/0.01323, allocations: 20 kB / 258.6 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003214/0.01645, allocations: 1.727 MB / 260.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.01833, allocations: 0.6759 MB / 261 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009057/0.01923, allocations: 398.9 kB / 261.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.02051, allocations: 0.9245 MB / 262.4 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.02158, allocations: 0.7706 MB / 263.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006605/0.02224, allocations: 0.5689 MB / 263.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.02276, allocations: 422.8 kB / 264.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.02288, allocations: 84 kB / 264.2 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005053/0.02339, allocations: 235.7 kB / 264.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.0235, allocations: 211.2 kB / 264.6 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.02373, allocations: 319.2 kB / 264.9 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009466/0.02468, allocations: 0.8132 MB / 265.7 MB, free: 8.723 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.02468, allocations: 0 / 265.7 MB, free: 8.723 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.02469, allocations: 0 / 265.7 MB, free: 8.723 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.02471, allocations: 0 / 265.7 MB, free: 8.723 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.0022/0.02691, allocations: 1.491 MB / 267.2 MB, free: 7.191 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.02695, allocations: 11.98 kB / 267.2 MB, free: 7.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003677/0.03063, allocations: 1.225 MB / 268.5 MB, free: 5.953 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/0.03122, allocations: 403.2 kB / 268.9 MB, free: 5.531 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/0.03127, allocations: 78.55 kB / 268.9 MB, free: 5.453 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.03139, allocations: 108.4 kB / 269 MB, free: 5.348 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.03253, allocations: 0.9132 MB / 270 MB, free: 4.383 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.03255, allocations: 192 / 270 MB, free: 4.383 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.55e-05/0.03262, allocations: 52.36 kB / 270 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.03264, allocations: 31.94 kB / 270 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009629/0.0336, allocations: 0.6596 MB / 270.7 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003584/0.03718, allocations: 3.207 MB / 273.9 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.03895, allocations: 0.9887 MB / 274.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.03925, allocations: 197.4 kB / 275.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-05/0.03932, allocations: 24.62 kB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.03936, allocations: 46.05 kB / 275.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 3.567e-06/0.03937, allocations: 3.938 kB / 275.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.0009446/0.04031, allocations: 0.5368 MB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.04036, allocations: 119.4 kB / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.04067, allocations: 377.9 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.04071, allocations: 37.7 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.04096, allocations: 0.4984 MB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.04113, allocations: 257.8 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.04134, allocations: 180.2 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.04151, allocations: 0.5352 MB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.04177, allocations: 137.9 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.04227, allocations: 0.6032 MB / 278.4 MB, free: 11.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/0.04313, allocations: 0.8103 MB / 279.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/0.04314, allocations: 4 kB / 279.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001075/0.04421, allocations: 0.7506 MB / 280 MB, free: 9.699 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.04424, allocations: 12 kB / 280 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.04425, allocations: 12 kB / 280 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-05/0.04428, allocations: 16 kB / 280 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.04488, allocations: 236.3 kB / 280.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/0.0449, allocations: 31.86 kB / 280.3 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.04527, allocations: 99.25 kB / 280.4 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.04533, allocations: 51.92 kB / 280.4 MB, free: 9.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.00021/0.04554, allocations: 220.2 kB / 280.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.04566, allocations: 67.72 kB / 280.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007981/0.04646, allocations: 0.5214 MB / 281.2 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.04647, allocations: 8 kB / 281.2 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.04648, allocations: 3.938 kB / 281.3 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.04649, allocations: 3.984 kB / 281.3 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.04826, allocations: 1.244 MB / 282.5 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.04827, allocations: 0 / 282.5 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.0487, allocations: 151.8 kB / 282.6 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.0487, allocations: 4 kB / 282.7 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.04874, allocations: 12 kB / 282.7 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.04874, allocations: 4 kB / 282.7 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.04875, allocations: 3.938 kB / 282.7 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.04982, allocations: 0.9987 MB / 283.7 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/0.0499, allocations: 63.55 kB / 283.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.04995, allocations: 12 kB / 283.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.05021, allocations: 20 kB / 283.8 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.133e-05/0.0503, allocations: 52.5 kB / 283.8 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.05033, allocations: 19.98 kB / 283.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.0505, allocations: 227 kB / 284.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0505, allocations: 0 / 284.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007995/0.0513, allocations: 247.3 kB / 284.3 MB, free: 5.305 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 (78): * Single equations (assignments): 78 * 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.0002582/0.05156, allocations: 143.1 kB / 284.4 MB, free: 5.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007938/0.05235, allocations: 0.5132 MB / 285 MB, free: 4.645 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.05235, allocations: 7.938 kB / 285 MB, free: 4.637 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003033/0.05266, allocations: 228.6 kB / 285.2 MB, free: 4.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.05319, allocations: 53.27 kB / 285.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.05568, allocations: 1.311 MB / 286.5 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.05581, allocations: 152.9 kB / 286.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002822/0.05609, allocations: 92.84 kB / 286.8 MB, free: 2.742 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.05624, allocations: 56.48 kB / 286.8 MB, free: 2.688 MB / 266.7 MB Notification: Performance of SimCode: time 1.213e-06/0.05624, allocations: 0 / 286.8 MB, free: 2.688 MB / 266.7 MB Notification: Performance of Templates: time 0.0098/0.06604, allocations: 4.581 MB / 291.4 MB, free: 14.12 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/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: 3.140321326907724]