Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009904/0.0009904, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 141.7 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9205/0.9205, allocations: 173.4 MB / 201.5 MB, free: 8.758 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 268.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.949e-06/1.12e-05, allocations: 2.312 kB / 268.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004367/0.004378, allocations: 5.358 MB / 273.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.00683, allocations: 1.821 MB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.007058, allocations: 20 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.008708, allocations: 1.715 MB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009514/0.00966, allocations: 0.7418 MB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.01003, allocations: 279.3 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006001/0.01063, allocations: 0.8286 MB / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.01166, allocations: 0.8094 MB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/0.01207, allocations: 0.5145 MB / 280.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.01239, allocations: 395 kB / 280.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.606e-05/0.01245, allocations: 80 kB / 281 MB, free: 9.391 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.01273, allocations: 231.7 kB / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.929e-05/0.01282, allocations: 191.2 kB / 281.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.01298, allocations: 283.3 kB / 281.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005834/0.01356, allocations: 0.7705 MB / 282.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.01357, allocations: 3.984 kB / 282.5 MB, free: 7.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.01357, allocations: 0 / 282.5 MB, free: 7.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.01357, allocations: 3.938 kB / 282.5 MB, free: 7.918 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.001624/0.0152, allocations: 1.33 MB / 283.8 MB, free: 6.562 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.625e-05/0.01522, allocations: 8.922 kB / 283.8 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.01753, allocations: 0.9294 MB / 284.7 MB, free: 5.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.01779, allocations: 240.7 kB / 285 MB, free: 5.363 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.01783, allocations: 70.38 kB / 285 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.01791, allocations: 100.3 kB / 285.1 MB, free: 5.195 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000591/0.0185, allocations: 0.723 MB / 285.9 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.01852, allocations: 8.172 kB / 285.9 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.01857, allocations: 40.38 kB / 285.9 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.01858, allocations: 27.94 kB / 285.9 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.01899, allocations: 377.7 kB / 286.3 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.02128, allocations: 2.356 MB / 288.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007474/0.02203, allocations: 0.6531 MB / 289.3 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.02215, allocations: 128.4 kB / 289.4 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.423e-05/0.0222, allocations: 24.64 kB / 289.5 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.02222, allocations: 39.22 kB / 289.5 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 1.963e-06/0.02222, allocations: 7.938 kB / 289.5 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0003662/0.02259, allocations: 341.8 kB / 289.9 MB, free: 300 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.02262, allocations: 115.4 kB / 290 MB, free: 160 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09091/0.1135, allocations: 242.8 kB / 290.2 MB, free: 23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.131e-05/0.1136, allocations: 37.83 kB / 290.2 MB, free: 22.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1137, allocations: 387.2 kB / 290.6 MB, free: 22.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.1138, allocations: 234 kB / 290.8 MB, free: 22.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.114, allocations: 135.7 kB / 291 MB, free: 22.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.459e-05/0.114, allocations: 350.5 kB / 291.3 MB, free: 22.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.1141, allocations: 82.27 kB / 291.4 MB, free: 22.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.1143, allocations: 300.1 kB / 291.7 MB, free: 22.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.1146, allocations: 467.6 kB / 292.1 MB, free: 21.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1146, allocations: 6 kB / 292.2 MB, free: 21.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000423/0.115, allocations: 428.5 kB / 292.6 MB, free: 21.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.115, allocations: 7.938 kB / 292.6 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.1151, allocations: 7.922 kB / 292.6 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1151, allocations: 10 kB / 292.6 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.1155, allocations: 185.8 kB / 292.8 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.1155, allocations: 18.77 kB / 292.8 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.1157, allocations: 78.55 kB / 292.9 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.1157, allocations: 26.86 kB / 292.9 MB, free: 21.8 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.0001255/0.1158, allocations: 157 kB / 293.1 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.1159, allocations: 44.73 kB / 293.1 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.1163, allocations: 362 kB / 293.5 MB, free: 21.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.1163, allocations: 11.06 kB / 293.5 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1163, allocations: 1.312 kB / 293.5 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1163, allocations: 5.859 kB / 293.5 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000877/0.1172, allocations: 0.7446 MB / 294.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1172, allocations: 1.719 kB / 294.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.1175, allocations: 132.8 kB / 294.3 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1175, allocations: 4.25 kB / 294.3 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.1175, allocations: 16.03 kB / 294.4 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.1175, allocations: 4.344 kB / 294.4 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1175, allocations: 0 / 294.4 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.118, allocations: 0.6638 MB / 295 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.118, allocations: 46.27 kB / 295.1 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.118, allocations: 15.42 kB / 295.1 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.1182, allocations: 18.72 kB / 295.1 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.1183, allocations: 44.95 kB / 295.2 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1183, allocations: 12.42 kB / 295.2 MB, free: 21.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.969e-05/0.1183, allocations: 79.16 kB / 295.2 MB, free: 21.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1183, allocations: 6.547 kB / 295.3 MB, free: 21.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004675/0.1188, allocations: 230.1 kB / 295.5 MB, free: 21.04 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.0001601/0.119, allocations: 126.2 kB / 295.6 MB, free: 20.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.1193, allocations: 351.6 kB / 295.9 MB, free: 20.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.1193, allocations: 9.219 kB / 296 MB, free: 20.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1195, allocations: 177.8 kB / 296.1 MB, free: 20.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.1198, allocations: 43.11 kB / 296.2 MB, free: 20.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.121, allocations: 1.084 MB / 297.3 MB, free: 20.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.26e-05/0.1211, allocations: 144.8 kB / 297.4 MB, free: 20.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.1213, allocations: 74.77 kB / 297.5 MB, free: 20.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.1214, allocations: 122.2 kB / 297.6 MB, free: 20.24 MB / 266.7 MB Notification: Performance of SimCode: time 5e-07/0.1214, allocations: 4 kB / 297.6 MB, free: 20.24 MB / 266.7 MB Notification: Performance of Templates: time 0.007257/0.1287, allocations: 4.663 MB / 302.3 MB, free: 19.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.618040625937283]