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.001298/0.001298, allocations: 76.81 kB / 22.28 MB, free: 2.207 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.001096/0.001096, allocations: 164.2 kB / 25.69 MB, free: 7.957 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.6 MB, free: 2.793 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.383e-06/1.383e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.637e-05, allocations: 6.25 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.004729/0.004745, allocations: 5.642 MB / 257.2 MB, free: 1.551 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002904/0.007649, allocations: 1.923 MB / 259.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.007948, allocations: 23.94 kB / 259.2 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.00971, allocations: 1.722 MB / 260.9 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.01078, allocations: 0.6524 MB / 261.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.01132, allocations: 406.8 kB / 261.9 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007054/0.01202, allocations: 0.9294 MB / 262.9 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008686/0.01289, allocations: 0.8209 MB / 263.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009287/0.01382, allocations: 0.569 MB / 264.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.01426, allocations: 430.9 kB / 264.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.78e-05/0.01435, allocations: 84 kB / 264.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.01475, allocations: 243.7 kB / 265 MB, free: 9.703 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.01485, allocations: 215.1 kB / 265.2 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.01506, allocations: 311.2 kB / 265.5 MB, free: 9.188 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007952/0.01586, allocations: 0.8093 MB / 266.3 MB, free: 8.375 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.01586, allocations: 4 kB / 266.3 MB, free: 8.371 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01586, allocations: 0 / 266.3 MB, free: 8.371 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.01588, allocations: 4 kB / 266.3 MB, free: 8.367 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.002081/0.01796, allocations: 1.412 MB / 267.7 MB, free: 6.926 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.01799, allocations: 11.98 kB / 267.7 MB, free: 6.914 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004159/0.02215, allocations: 1.362 MB / 269.1 MB, free: 5.551 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.02256, allocations: 256.5 kB / 269.4 MB, free: 5.273 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.02261, allocations: 82.55 kB / 269.4 MB, free: 5.191 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.02271, allocations: 108.4 kB / 269.5 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/0.02348, allocations: 0.8227 MB / 270.4 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.0235, allocations: 4.188 kB / 270.4 MB, free: 4.211 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/0.02355, allocations: 40.38 kB / 270.4 MB, free: 4.172 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.02357, allocations: 31.94 kB / 270.4 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008949/0.02447, allocations: 465.6 kB / 270.9 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.02706, allocations: 2.643 MB / 273.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009845/0.02805, allocations: 0.8336 MB / 274.4 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.02818, allocations: 148.9 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.664e-05/0.02824, allocations: 28.56 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.02827, allocations: 47.22 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.204e-06/0.02827, allocations: 0 / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.000444/0.02871, allocations: 353.9 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.02875, allocations: 115.4 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.02892, allocations: 310.4 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.02895, allocations: 41.7 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.0291, allocations: 455.8 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.02922, allocations: 257.8 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.02935, allocations: 170.5 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.02945, allocations: 354.7 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.02955, allocations: 97.94 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.02981, allocations: 428.8 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006992/0.03051, allocations: 0.6138 MB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.03052, allocations: 4 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0004853/0.031, allocations: 0.5403 MB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.03102, allocations: 12 kB / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.03103, allocations: 11.94 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.03105, allocations: 16 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.03153, allocations: 255.5 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.03154, allocations: 23.92 kB / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.03176, allocations: 107.5 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.03179, allocations: 35.98 kB / 278.7 MB, free: 11.3 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.0001353/0.03193, allocations: 173.5 kB / 278.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.032, allocations: 51.95 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.03239, allocations: 381.9 kB / 279.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.03239, allocations: 8 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.0324, allocations: 7.938 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.03241, allocations: 3.984 kB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008789/0.03329, allocations: 0.8042 MB / 280.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.03329, allocations: 0 / 280.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.03362, allocations: 167.6 kB / 280.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.03362, allocations: 7.938 kB / 280.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.03364, allocations: 19.98 kB / 280.3 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.03365, allocations: 4 kB / 280.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.03365, allocations: 3.938 kB / 280.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.03414, allocations: 0.6746 MB / 281 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.03418, allocations: 55.48 kB / 281.1 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.03422, allocations: 19.98 kB / 281.1 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.03438, allocations: 20.03 kB / 281.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.03445, allocations: 56.44 kB / 281.2 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.03447, allocations: 12 kB / 281.2 MB, free: 8.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.03453, allocations: 96.62 kB / 281.3 MB, free: 8.695 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03453, allocations: 0 / 281.3 MB, free: 8.695 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004401/0.03497, allocations: 247.3 kB / 281.5 MB, free: 8.453 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.0001652/0.03514, allocations: 124.3 kB / 281.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000368/0.03551, allocations: 423.1 kB / 282 MB, free: 7.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.03552, allocations: 4.5 kB / 282 MB, free: 7.906 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.03567, allocations: 189.7 kB / 282.2 MB, free: 7.719 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.03598, allocations: 52.91 kB / 282.3 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.03745, allocations: 1.241 MB / 283.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.654e-05/0.03755, allocations: 153 kB / 283.7 MB, free: 6.215 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.03776, allocations: 100.8 kB / 283.8 MB, free: 6.117 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.03793, allocations: 131.4 kB / 283.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03793, allocations: 0 / 283.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of Templates: time 0.008069/0.046, allocations: 5.138 MB / 289 MB, free: 0.8672 MB / 266.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 -s gbode -gbm=radauIIA3 -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: 2.5994605510495603]