Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 159.8 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9432/0.9432, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.619e-05, allocations: 5.266 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005548/0.005564, allocations: 5.409 MB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.007802, allocations: 1.888 MB / 280.7 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.007999, allocations: 20 kB / 280.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.009523, allocations: 1.703 MB / 282.4 MB, free: 7.949 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007081/0.01023, allocations: 0.594 MB / 283 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.01063, allocations: 402.8 kB / 283.4 MB, free: 6.957 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000499/0.01113, allocations: 0.8285 MB / 284.3 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006759/0.01181, allocations: 0.8052 MB / 285.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.01216, allocations: 0.5106 MB / 285.6 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.0125, allocations: 391 kB / 286 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/0.01256, allocations: 76 kB / 286 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.01283, allocations: 251.6 kB / 286.3 MB, free: 4.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.01291, allocations: 187.3 kB / 286.5 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.01307, allocations: 291.2 kB / 286.7 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007858/0.01385, allocations: 0.7744 MB / 287.5 MB, free: 2.824 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.01385, allocations: 4 kB / 287.5 MB, free: 2.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01385, allocations: 0 / 287.5 MB, free: 2.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.01386, allocations: 4 kB / 287.5 MB, free: 2.816 MB / 266.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.001621/0.01548, allocations: 1.334 MB / 288.9 MB, free: 1.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.394e-05/0.0155, allocations: 11.98 kB / 288.9 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00252/0.01803, allocations: 0.8902 MB / 289.8 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.01828, allocations: 240.7 kB / 290 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.01831, allocations: 74.38 kB / 290.1 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.01838, allocations: 96.31 kB / 290.2 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1222/0.1406, allocations: 0.7167 MB / 290.9 MB, free: 18.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.1406, allocations: 2.281 kB / 290.9 MB, free: 18.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.1407, allocations: 41.69 kB / 290.9 MB, free: 18.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.1407, allocations: 23.41 kB / 290.9 MB, free: 18.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.1411, allocations: 382.9 kB / 291.3 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.1433, allocations: 2.364 MB / 293.7 MB, free: 17.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000849/0.1442, allocations: 0.6519 MB / 294.3 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.1443, allocations: 133.8 kB / 294.5 MB, free: 17.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.636e-05/0.1444, allocations: 32.19 kB / 294.5 MB, free: 17.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1444, allocations: 46.56 kB / 294.5 MB, free: 17.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 1.694e-06/0.1444, allocations: 0 / 294.5 MB, free: 17.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.000445/0.1449, allocations: 341.7 kB / 294.9 MB, free: 17.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.1449, allocations: 112.5 kB / 295 MB, free: 17.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.145, allocations: 247.9 kB / 295.2 MB, free: 17.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.145, allocations: 39.64 kB / 295.3 MB, free: 17.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1451, allocations: 388.5 kB / 295.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.1452, allocations: 237.1 kB / 295.9 MB, free: 17.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.1454, allocations: 133.9 kB / 296 MB, free: 17.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.1454, allocations: 352.2 kB / 296.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1455, allocations: 82.55 kB / 296.4 MB, free: 16.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.1457, allocations: 300.4 kB / 296.7 MB, free: 16.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.146, allocations: 467.3 kB / 297.2 MB, free: 16.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.146, allocations: 3.969 kB / 297.2 MB, free: 16.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004923/0.1465, allocations: 439.9 kB / 297.6 MB, free: 16.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1466, allocations: 7.688 kB / 297.6 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1466, allocations: 7.609 kB / 297.6 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1466, allocations: 10.38 kB / 297.6 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.147, allocations: 207.4 kB / 297.8 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.1471, allocations: 15.25 kB / 297.9 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.1472, allocations: 82.03 kB / 297.9 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.1473, allocations: 24.62 kB / 298 MB, free: 16.27 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.0001003/0.1474, allocations: 159.5 kB / 298.1 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.663e-05/0.1474, allocations: 49.59 kB / 298.2 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.1478, allocations: 366.9 kB / 298.5 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1478, allocations: 6.812 kB / 298.5 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1479, allocations: 1.75 kB / 298.5 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1479, allocations: 5.859 kB / 298.5 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000869/0.1487, allocations: 0.75 MB / 299.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1487, allocations: 1.031 kB / 299.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.1491, allocations: 151 kB / 299.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1491, allocations: 4.828 kB / 299.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.1491, allocations: 16.69 kB / 299.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1491, allocations: 7.719 kB / 299.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1491, allocations: 1.188 kB / 299.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.1496, allocations: 0.6499 MB / 300.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.1496, allocations: 47 kB / 300.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.1496, allocations: 15.62 kB / 300.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1498, allocations: 25.48 kB / 300.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.1499, allocations: 41.22 kB / 300.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.1499, allocations: 19.53 kB / 300.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.38e-05/0.1499, allocations: 72.45 kB / 300.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1499, allocations: 0 / 300.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004694/0.1504, allocations: 233.8 kB / 300.6 MB, free: 15.49 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.0001847/0.1506, allocations: 129.3 kB / 300.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004212/0.151, allocations: 362.3 kB / 301 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.648e-05/0.151, allocations: 10.53 kB / 301.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.1512, allocations: 174.8 kB / 301.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.1515, allocations: 44.48 kB / 301.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.153, allocations: 1.097 MB / 302.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.1531, allocations: 140.9 kB / 302.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.1533, allocations: 81.31 kB / 302.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.1535, allocations: 126.8 kB / 302.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1535, allocations: 0 / 302.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of Templates: time 0.007179/0.1606, allocations: 4.923 MB / 307.6 MB, free: 13.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5882194940932095]