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.001535/0.001535, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001944/0.001944, allocations: 214.7 kB / 24.48 MB, free: 3.941 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 2.068/2.068, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.002328/0.002328, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3828, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.009275/0.3921, allocations: 5.024 MB / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005216/0.3973, allocations: 1.764 MB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005493/0.3979, allocations: 19.94 kB / 439.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005508/0.4034, allocations: 1.497 MB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.4061, allocations: 0.5855 MB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.4075, allocations: 383 kB / 441.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.4091, allocations: 0.8055 MB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.4109, allocations: 0.7588 MB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006863/0.4116, allocations: 366.6 kB / 443.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008812/0.4124, allocations: 490.2 kB / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.4126, allocations: 80 kB / 444.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.4134, allocations: 243.8 kB / 444.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.4136, allocations: 187.3 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004726/0.4141, allocations: 338.4 kB / 444.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.4162, allocations: 1.19 MB / 446 MB, free: 8.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4162, allocations: 0 / 446 MB, free: 8.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4162, allocations: 4 kB / 446 MB, free: 8.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.4162, allocations: 3.938 kB / 446 MB, free: 8.938 MB / 350.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.00549/0.4217, allocations: 1.295 MB / 447.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4217, allocations: 8.031 kB / 447.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00839/0.4301, allocations: 0.6248 MB / 447.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.4312, allocations: 369.3 kB / 448.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.721e-05/0.4313, allocations: 66.38 kB / 448.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/0.4315, allocations: 96.38 kB / 448.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.4344, allocations: 1.011 MB / 449.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/0.4344, allocations: 3.984 kB / 449.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.4346, allocations: 40 kB / 449.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.4346, allocations: 24 kB / 449.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/0.4375, allocations: 0.9252 MB / 450.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007536/0.4451, allocations: 2.788 MB / 453.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.4482, allocations: 0.7555 MB / 454 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007402/0.449, allocations: 248.5 kB / 454.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.4491, allocations: 28.62 kB / 454.3 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.86e-05/0.4492, allocations: 51.09 kB / 454.3 MB, free: 388 kB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 3.927e-06/0.4492, allocations: 0 / 454.3 MB, free: 388 kB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.002486/0.4517, allocations: 0.7244 MB / 455.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.4518, allocations: 115.5 kB / 455.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/0.4523, allocations: 264.7 kB / 455.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/0.4523, allocations: 37.7 kB / 455.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.4527, allocations: 392 kB / 455.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/0.453, allocations: 233.9 kB / 456.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/0.4534, allocations: 138.6 kB / 456.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002425/0.4536, allocations: 346.8 kB / 456.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007143/0.4543, allocations: 221.9 kB / 456.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.4553, allocations: 440.1 kB / 457.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.4572, allocations: 0.7008 MB / 457.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.4572, allocations: 4 kB / 457.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002269/0.4595, allocations: 0.7511 MB / 458.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.4595, allocations: 8 kB / 458.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.4595, allocations: 12.09 kB / 458.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-05/0.4595, allocations: 11.94 kB / 458.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.4608, allocations: 191.7 kB / 458.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.62e-05/0.4608, allocations: 15.92 kB / 458.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/0.4615, allocations: 75.45 kB / 459 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.4616, allocations: 39.98 kB / 459 MB, free: 11.46 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.0004741/0.4621, allocations: 213.6 kB / 459.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.4623, allocations: 51.66 kB / 459.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.4644, allocations: 0.65 MB / 459.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.4644, allocations: 8 kB / 459.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.4644, allocations: 4 kB / 459.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.4644, allocations: 3.984 kB / 459.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/0.4681, allocations: 1.268 MB / 461.2 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.4681, allocations: 4 kB / 461.2 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.4691, allocations: 135.9 kB / 461.3 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.4692, allocations: 4 kB / 461.3 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/0.4692, allocations: 19.98 kB / 461.4 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/0.4692, allocations: 7.938 kB / 461.4 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4692, allocations: 0 / 461.4 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/0.472, allocations: 1.124 MB / 462.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.4721, allocations: 43.67 kB / 462.5 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.777e-05/0.4722, allocations: 12 kB / 462.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/0.4728, allocations: 23.98 kB / 462.6 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.4729, allocations: 52.5 kB / 462.6 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/0.473, allocations: 20 kB / 462.6 MB, free: 7.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002751/0.4733, allocations: 168.5 kB / 462.8 MB, free: 7.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4733, allocations: 3.938 kB / 462.8 MB, free: 7.586 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001308/0.4746, allocations: 239.3 kB / 463 MB, free: 7.352 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.0003329/0.4749, allocations: 147.1 kB / 463.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.4768, allocations: 0.5687 MB / 463.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4768, allocations: 4.5 kB / 463.8 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008139/0.4777, allocations: 275.6 kB / 464 MB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009467/0.4786, allocations: 36.44 kB / 464.1 MB, free: 6.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.4819, allocations: 1.26 MB / 465.3 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.4824, allocations: 307.7 kB / 465.6 MB, free: 4.695 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005041/0.4829, allocations: 84.27 kB / 465.7 MB, free: 4.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.4831, allocations: 51.42 kB / 465.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4831, allocations: 0 / 465.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of Templates: time 0.01879/0.5019, allocations: 5.388 MB / 471.1 MB, free: 15.21 MB / 382.1 MB " [Timeout remaining time 659] 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 -s cvode -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.278475158003857]