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.001967/0.001967, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002461/0.002461, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.001542/0.001542, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2077, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006932/0.2146, allocations: 5.021 MB / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.2176, allocations: 1.772 MB / 439.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.2179, allocations: 16 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003506/0.2214, allocations: 1.489 MB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.2226, allocations: 0.5865 MB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.2234, allocations: 393.8 kB / 441.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008284/0.2242, allocations: 0.8055 MB / 442.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.2253, allocations: 0.7587 MB / 443.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004409/0.2258, allocations: 366.6 kB / 443.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005396/0.2263, allocations: 486.2 kB / 444 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.2264, allocations: 84 kB / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000419/0.2269, allocations: 239.8 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.227, allocations: 187.4 kB / 444.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003194/0.2273, allocations: 342.4 kB / 444.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.2286, allocations: 1.186 MB / 446 MB, free: 8.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2286, allocations: 4 kB / 446 MB, free: 8.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2286, allocations: 0 / 446 MB, free: 8.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2286, allocations: 0 / 446 MB, free: 8.969 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.003356/0.232, allocations: 1.293 MB / 447.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.232, allocations: 8.031 kB / 447.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004925/0.2369, allocations: 0.6248 MB / 447.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.2375, allocations: 365.3 kB / 448.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/0.2376, allocations: 78.36 kB / 448.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.2377, allocations: 96.38 kB / 448.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.2395, allocations: 1.011 MB / 449.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.2396, allocations: 0 / 449.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.139e-05/0.2397, allocations: 40 kB / 449.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.2397, allocations: 24 kB / 449.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.2414, allocations: 0.9291 MB / 450.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004485/0.2459, allocations: 2.784 MB / 453.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.2477, allocations: 0.7516 MB / 454 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/0.2482, allocations: 254.7 kB / 454.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.266e-05/0.2483, allocations: 28.62 kB / 454.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.2483, allocations: 43.16 kB / 454.3 MB, free: 424 kB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.114e-06/0.2483, allocations: 3.938 kB / 454.3 MB, free: 420 kB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001461/0.2498, allocations: 0.7243 MB / 455.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.2498, allocations: 111.5 kB / 455.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.2501, allocations: 268.7 kB / 455.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.2501, allocations: 37.7 kB / 455.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.2504, allocations: 388 kB / 455.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.2506, allocations: 238 kB / 456.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.2508, allocations: 142.6 kB / 456.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.251, allocations: 346.8 kB / 456.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.2514, allocations: 225.8 kB / 456.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/0.252, allocations: 440.2 kB / 457.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.2531, allocations: 0.7007 MB / 457.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2531, allocations: 0 / 457.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001342/0.2544, allocations: 0.7552 MB / 458.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2544, allocations: 12 kB / 458.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.2544, allocations: 4 kB / 458.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.2545, allocations: 15.94 kB / 458.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.2552, allocations: 191.7 kB / 458.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.2552, allocations: 15.92 kB / 458.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.2556, allocations: 75.45 kB / 459 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.2557, allocations: 35.98 kB / 459 MB, free: 11.48 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.0002597/0.2559, allocations: 221.6 kB / 459.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.2561, allocations: 43.72 kB / 459.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.2574, allocations: 0.6461 MB / 459.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.2574, allocations: 7.938 kB / 459.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2574, allocations: 3.984 kB / 459.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.2575, allocations: 47.59 kB / 460 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.2575, allocations: 16 kB / 460 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.2579, allocations: 23.98 kB / 460 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.258, allocations: 48.56 kB / 460.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001442/0.2594, allocations: 0.8355 MB / 460.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001723/0.2611, allocations: 1.211 MB / 462.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004316/0.2616, allocations: 241.1 kB / 462.3 MB, free: 8.105 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.2617, allocations: 172.5 kB / 462.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of Backend: time 2.3e-07/0.2617, allocations: 0 / 462.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.2631, allocations: 0.5341 MB / 463 MB, free: 7.406 MB / 366.1 MB Notification: Performance of SimCode: time 0.001845/0.2649, allocations: 1.528 MB / 464.6 MB, free: 5.824 MB / 366.1 MB Notification: Performance of Templates: time 0.01546/0.2804, allocations: 8.957 MB / 473.5 MB, free: 12.93 MB / 382.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: 4.645920950999425]