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.001231/0.001231, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001324/0.001324, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.43/1.43, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001489/0.001489, allocations: 51.88 kB / 374.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.1011, allocations: 53.33 MB / 427.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.00699/0.1081, allocations: 5.653 MB / 433.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00355/0.1116, allocations: 1.888 MB / 435 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003211/0.1119, allocations: 20 kB / 435 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003507/0.1154, allocations: 1.621 MB / 436.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.1169, allocations: 0.6012 MB / 437.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008449/0.1178, allocations: 406.9 kB / 437.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000901/0.1187, allocations: 0.7978 MB / 438.5 MB, free: 9.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.1197, allocations: 0.669 MB / 439.1 MB, free: 8.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.1202, allocations: 366.6 kB / 439.5 MB, free: 8.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005385/0.1208, allocations: 490.2 kB / 440 MB, free: 7.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.1209, allocations: 83.98 kB / 440 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005317/0.1214, allocations: 243.8 kB / 440.3 MB, free: 7.434 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.1216, allocations: 187.4 kB / 440.5 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003691/0.1219, allocations: 421.9 kB / 440.9 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.1233, allocations: 1.183 MB / 442.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1233, allocations: 0 / 442.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1233, allocations: 0 / 442.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1233, allocations: 0 / 442.1 MB, free: 5.648 MB / 366.1 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.003433/0.1268, allocations: 1.376 MB / 443.4 MB, free: 4.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1268, allocations: 8.031 kB / 443.4 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004628/0.1314, allocations: 0.617 MB / 444.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.1321, allocations: 427.2 kB / 444.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.536e-05/0.1322, allocations: 74.38 kB / 444.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.1323, allocations: 92.38 kB / 444.6 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.134, allocations: 0.9902 MB / 445.6 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.134, allocations: 4 kB / 445.6 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/0.1341, allocations: 40 kB / 445.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.1342, allocations: 24 kB / 445.7 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.1359, allocations: 0.9335 MB / 446.6 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2188/0.3548, allocations: 3.428 MB / 450.1 MB, free: 22.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.3567, allocations: 2.177 MB / 452.2 MB, free: 20.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.3571, allocations: 252.6 kB / 452.5 MB, free: 20.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.3572, allocations: 186 kB / 452.7 MB, free: 20.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.3572, allocations: 42.56 kB / 452.7 MB, free: 20.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.397e-06/0.3572, allocations: 2.062 kB / 452.7 MB, free: 20.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001353/0.3586, allocations: 0.7286 MB / 453.4 MB, free: 20 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.3586, allocations: 110.5 kB / 453.5 MB, free: 19.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.3589, allocations: 276.5 kB / 453.8 MB, free: 19.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.3589, allocations: 36.2 kB / 453.9 MB, free: 19.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.3591, allocations: 389.9 kB / 454.2 MB, free: 19.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.3592, allocations: 239.6 kB / 454.5 MB, free: 19.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.3594, allocations: 137 kB / 454.6 MB, free: 19.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.3595, allocations: 348.4 kB / 454.9 MB, free: 18.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.3599, allocations: 221.9 kB / 455.2 MB, free: 18.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/0.3603, allocations: 439 kB / 455.6 MB, free: 18.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008884/0.3612, allocations: 0.6983 MB / 456.3 MB, free: 17.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.3612, allocations: 2.656 kB / 456.3 MB, free: 17.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001233/0.3625, allocations: 0.7579 MB / 457 MB, free: 17.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3625, allocations: 8.781 kB / 457.1 MB, free: 17.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3625, allocations: 7 kB / 457.1 MB, free: 17.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.3625, allocations: 10.75 kB / 457.1 MB, free: 17.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.3632, allocations: 191.5 kB / 457.3 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.3633, allocations: 12.31 kB / 457.3 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.3637, allocations: 88.95 kB / 457.4 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.3637, allocations: 35.47 kB / 457.4 MB, free: 17.61 MB / 366.1 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.0002547/0.364, allocations: 222.6 kB / 457.6 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.3641, allocations: 39.59 kB / 457.6 MB, free: 17.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.3654, allocations: 0.6502 MB / 458.3 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.3654, allocations: 8.172 kB / 458.3 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3654, allocations: 1.094 kB / 458.3 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.3654, allocations: 9.172 kB / 458.3 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.3678, allocations: 1.486 MB / 459.8 MB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3678, allocations: 1.062 kB / 459.8 MB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/0.3684, allocations: 142.5 kB / 459.9 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.3684, allocations: 3.125 kB / 459.9 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.3684, allocations: 16.05 kB / 460 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.321e-06/0.3684, allocations: 5.359 kB / 460 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3684, allocations: 1.469 kB / 460 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.3699, allocations: 1.128 MB / 461.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.3699, allocations: 123.8 kB / 461.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.37, allocations: 16.3 kB / 461.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.3704, allocations: 29.06 kB / 461.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3705, allocations: 45.05 kB / 461.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.3705, allocations: 21.27 kB / 461.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.3707, allocations: 188 kB / 461.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3707, allocations: 0 / 461.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007928/0.3715, allocations: 227.6 kB / 461.7 MB, free: 15.32 MB / 366.1 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.0002321/0.3717, allocations: 156.9 kB / 461.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.3727, allocations: 0.5718 MB / 462.5 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3727, allocations: 1.094 kB / 462.5 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.3732, allocations: 269.4 kB / 462.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.3737, allocations: 44.64 kB / 462.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.3756, allocations: 1.288 MB / 464.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.376, allocations: 0.9004 MB / 465 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.3762, allocations: 58.59 kB / 465 MB, free: 13.43 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3762, allocations: 0 / 465 MB, free: 13.43 MB / 366.1 MB Notification: Performance of Templates: time 0.01205/0.3882, allocations: 7.585 MB / 472.6 MB, free: 11.64 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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: 7.325256580021232]