Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001261/0.001261, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001312/0.001312, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.965/0.965, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.206e-05, allocations: 2.312 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004313/0.004325, allocations: 5.372 MB / 278.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.00626, allocations: 1.888 MB / 280.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.006447, allocations: 16 kB / 280.7 MB, free: 10 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.00807, allocations: 1.715 MB / 282.4 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009562/0.009026, allocations: 0.5941 MB / 283 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.009453, allocations: 410.7 kB / 283.4 MB, free: 7.281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005189/0.009972, allocations: 0.8246 MB / 284.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006942/0.01067, allocations: 0.8017 MB / 285.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.01105, allocations: 0.5184 MB / 285.6 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.01135, allocations: 387 kB / 286 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.015e-05/0.01142, allocations: 80 kB / 286 MB, free: 4.637 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.01167, allocations: 243.6 kB / 286.3 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.865e-05/0.01176, allocations: 191.3 kB / 286.5 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.01193, allocations: 287.2 kB / 286.7 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.01251, allocations: 0.7821 MB / 287.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.01251, allocations: 0 / 287.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01251, allocations: 4 kB / 287.5 MB, free: 3.141 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.01252, allocations: 0 / 287.5 MB, free: 3.141 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.001652/0.01417, allocations: 1.334 MB / 288.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.574e-05/0.0142, allocations: 8.031 kB / 288.9 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/0.01652, allocations: 0.8941 MB / 289.8 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.01678, allocations: 240.7 kB / 290 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002689/0.01705, allocations: 74.38 kB / 290.1 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.261e-05/0.01713, allocations: 96.38 kB / 290.2 MB, free: 460 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09079/0.1079, allocations: 0.7155 MB / 290.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.108, allocations: 1.094 kB / 290.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.108, allocations: 43.42 kB / 290.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.108, allocations: 22.97 kB / 290.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.1085, allocations: 381.4 kB / 291.3 MB, free: 19.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.1108, allocations: 2.367 MB / 293.7 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008209/0.1116, allocations: 0.6516 MB / 294.3 MB, free: 18.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1117, allocations: 129.4 kB / 294.5 MB, free: 18.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.748e-05/0.1118, allocations: 30.64 kB / 294.5 MB, free: 18.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1118, allocations: 50.67 kB / 294.5 MB, free: 17.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.274e-06/0.1118, allocations: 1.719 kB / 294.5 MB, free: 17.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0004226/0.1122, allocations: 337 kB / 294.9 MB, free: 17.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.1123, allocations: 113.1 kB / 295 MB, free: 17.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1124, allocations: 251.5 kB / 295.2 MB, free: 17.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1124, allocations: 37.67 kB / 295.3 MB, free: 17.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1125, allocations: 388.8 kB / 295.6 MB, free: 17.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.1126, allocations: 233.7 kB / 295.9 MB, free: 17.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.1127, allocations: 140.7 kB / 296 MB, free: 17.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.113e-05/0.1127, allocations: 348 kB / 296.3 MB, free: 16.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.42e-05/0.1128, allocations: 84.09 kB / 296.4 MB, free: 16.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.113, allocations: 301 kB / 296.7 MB, free: 16.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.1133, allocations: 467.5 kB / 297.2 MB, free: 16.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1133, allocations: 6.156 kB / 297.2 MB, free: 16.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004104/0.1137, allocations: 434.4 kB / 297.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1137, allocations: 9.062 kB / 297.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1137, allocations: 8.031 kB / 297.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1138, allocations: 13.56 kB / 297.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.1141, allocations: 182.8 kB / 297.8 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1141, allocations: 19.34 kB / 297.8 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1143, allocations: 79.94 kB / 297.9 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.1143, allocations: 26.8 kB / 297.9 MB, free: 16.44 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.0001009/0.1144, allocations: 155.5 kB / 298.1 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.1145, allocations: 50.47 kB / 298.1 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.1149, allocations: 367.2 kB / 298.5 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1149, allocations: 7.812 kB / 298.5 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1149, allocations: 3 kB / 298.5 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1149, allocations: 4.984 kB / 298.5 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008281/0.1157, allocations: 0.7448 MB / 299.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1157, allocations: 2.109 kB / 299.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.116, allocations: 134 kB / 299.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.116, allocations: 3.719 kB / 299.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.116, allocations: 14.92 kB / 299.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1161, allocations: 3.422 kB / 299.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1161, allocations: 2.406 kB / 299.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.1165, allocations: 0.6569 MB / 300.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.1165, allocations: 46.89 kB / 300.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.1166, allocations: 13.92 kB / 300.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.1167, allocations: 19.05 kB / 300.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.1168, allocations: 51.62 kB / 300.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1168, allocations: 16.27 kB / 300.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.84e-05/0.1169, allocations: 73.25 kB / 300.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1169, allocations: 0 / 300.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004258/0.1173, allocations: 235.1 kB / 300.5 MB, free: 15.67 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.0001589/0.1174, allocations: 132.4 kB / 300.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.1178, allocations: 362 kB / 301 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.1178, allocations: 5.125 kB / 301 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1179, allocations: 176.3 kB / 301.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.1182, allocations: 41.94 kB / 301.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.1194, allocations: 1.09 MB / 302.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.516e-05/0.1195, allocations: 145.9 kB / 302.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.1197, allocations: 76.05 kB / 302.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.1198, allocations: 126.3 kB / 302.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1198, allocations: 3.719 kB / 302.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of Templates: time 0.006675/0.1265, allocations: 4.832 MB / 307.5 MB, free: 13.86 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.5731532159261405]