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.002659/0.002659, allocations: 95.55 kB / 21.73 MB, free: 2.688 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.003017/0.003017, allocations: 169.1 kB / 25.03 MB, free: 8.426 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.393/1.393, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.563e-06/1.563e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.794e-05, allocations: 2.312 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.008913/0.008941, allocations: 5.665 MB / 256 MB, free: 2.141 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00438/0.01332, allocations: 1.85 MB / 257.9 MB, free: 284 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005897/0.01391, allocations: 20 kB / 257.9 MB, free: 264 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004761/0.01867, allocations: 1.719 MB / 259.6 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.02074, allocations: 0.6602 MB / 260.3 MB, free: 13.87 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009712/0.02171, allocations: 410.8 kB / 260.7 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.02291, allocations: 0.9295 MB / 261.6 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.02426, allocations: 0.7706 MB / 262.4 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007881/0.02505, allocations: 0.5612 MB / 262.9 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006589/0.02571, allocations: 422.8 kB / 263.3 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.02585, allocations: 84 kB / 263.4 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005534/0.0264, allocations: 239.6 kB / 263.7 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.02662, allocations: 211.2 kB / 263.9 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003915/0.02701, allocations: 319.1 kB / 264.2 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.02885, allocations: 1.25 MB / 265.4 MB, free: 8.672 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.02885, allocations: 0 / 265.4 MB, free: 8.672 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.02885, allocations: 4 kB / 265.4 MB, free: 8.668 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.02886, allocations: 0 / 265.4 MB, free: 8.668 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.003708/0.03257, allocations: 1.541 MB / 267 MB, free: 7.086 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.03262, allocations: 11.98 kB / 267 MB, free: 7.074 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007261/0.03988, allocations: 1.229 MB / 268.2 MB, free: 5.844 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000859/0.04074, allocations: 403.2 kB / 268.6 MB, free: 5.422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-05/0.04082, allocations: 78.48 kB / 268.7 MB, free: 5.344 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.041, allocations: 108.4 kB / 268.8 MB, free: 5.238 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.04327, allocations: 1.198 MB / 270 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.04331, allocations: 192 / 270 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.04342, allocations: 48.36 kB / 270 MB, free: 3.945 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.04345, allocations: 31.94 kB / 270.1 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.04556, allocations: 1.085 MB / 271.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006516/0.05208, allocations: 3.652 MB / 274.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.05458, allocations: 0.9344 MB / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004986/0.05508, allocations: 285.3 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-05/0.05517, allocations: 16.66 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.05522, allocations: 54.02 kB / 276.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 3.587e-06/0.05523, allocations: 0 / 276.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.001608/0.05683, allocations: 0.7358 MB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/0.05693, allocations: 123.6 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.05746, allocations: 445.9 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.05751, allocations: 33.7 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004194/0.05793, allocations: 0.5101 MB / 277.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/0.0582, allocations: 265.8 kB / 278.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/0.05852, allocations: 196.2 kB / 278.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003425/0.05886, allocations: 0.5547 MB / 278.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.05932, allocations: 241.8 kB / 279.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.06049, allocations: 0.697 MB / 279.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.06198, allocations: 1.009 MB / 280.9 MB, free: 8.461 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.06199, allocations: 4 kB / 280.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00164/0.06363, allocations: 0.9262 MB / 281.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.06365, allocations: 8 kB / 281.8 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.06367, allocations: 16.83 kB / 281.8 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/0.0637, allocations: 16 kB / 281.8 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/0.06455, allocations: 235.6 kB / 282.1 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.415e-05/0.06458, allocations: 27.86 kB / 282.1 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.06508, allocations: 99.25 kB / 282.2 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.29e-05/0.06515, allocations: 44 kB / 282.2 MB, free: 7.086 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.0003965/0.06555, allocations: 284.2 kB / 282.5 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.06571, allocations: 71.7 kB / 282.6 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.06705, allocations: 0.6542 MB / 283.2 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.06706, allocations: 8 kB / 283.3 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.06707, allocations: 3.938 kB / 283.3 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.06708, allocations: 7.984 kB / 283.3 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.06985, allocations: 1.538 MB / 284.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.06986, allocations: 0 / 284.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.0705, allocations: 147.8 kB / 284.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.0705, allocations: 0 / 284.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.07054, allocations: 16 kB / 285 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.07055, allocations: 4 kB / 285 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.07055, allocations: 11.88 kB / 285 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.07241, allocations: 1.272 MB / 286.2 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.921e-05/0.07251, allocations: 55.53 kB / 286.3 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.07258, allocations: 12 kB / 286.3 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.07293, allocations: 23.98 kB / 286.3 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.07305, allocations: 56.44 kB / 286.4 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.07309, allocations: 20 kB / 286.4 MB, free: 2.832 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000519/0.07361, allocations: 255 kB / 286.7 MB, free: 2.582 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07361, allocations: 4.031 kB / 286.7 MB, free: 2.578 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009005/0.07451, allocations: 255.3 kB / 286.9 MB, free: 2.328 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.000294/0.0748, allocations: 143.1 kB / 287.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.07607, allocations: 0.6814 MB / 287.7 MB, free: 1.496 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.07607, allocations: 0 / 287.7 MB, free: 1.496 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.0766, allocations: 312.6 kB / 288 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.07714, allocations: 52.58 kB / 288.1 MB, free: 1.133 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.07977, allocations: 1.397 MB / 289.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.08017, allocations: 333.2 kB / 289.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003431/0.08051, allocations: 96.83 kB / 289.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.08068, allocations: 56.48 kB / 290 MB, free: 15.19 MB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.08068, allocations: 0 / 290 MB, free: 15.19 MB / 282.7 MB Notification: Performance of Templates: time 0.01245/0.09313, allocations: 4.566 MB / 294.5 MB, free: 10.64 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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: 4.611184011097066]