Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001238/0.001238, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.84 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2422, allocations: 53.32 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005391/0.2476, allocations: 4.14 MB / 436.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.2496, allocations: 0.9658 MB / 437.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.2498, allocations: 8 kB / 437.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.2501, allocations: 99.06 kB / 437.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.2504, allocations: 186.4 kB / 437.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.2508, allocations: 159.7 kB / 437.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007022/0.2515, allocations: 0.6771 MB / 438.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.2518, allocations: 139.1 kB / 438.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.2521, allocations: 270.9 kB / 438.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.2525, allocations: 290.7 kB / 439 MB, free: 424 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.746e-05/0.2526, allocations: 56 kB / 439.1 MB, free: 368 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.2527, allocations: 56 kB / 439.1 MB, free: 312 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.2528, allocations: 139.4 kB / 439.3 MB, free: 172 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.2531, allocations: 306.5 kB / 439.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006852/0.2538, allocations: 0.651 MB / 440.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2538, allocations: 4 kB / 440.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2538, allocations: 0 / 440.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.2538, allocations: 0 / 440.2 MB, free: 15.21 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001521/0.2553, allocations: 0.88 MB / 441.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2553, allocations: 8.031 kB / 441.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.2556, allocations: 84.5 kB / 441.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.2562, allocations: 384 kB / 441.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.2562, allocations: 41.38 kB / 441.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/0.2563, allocations: 56.27 kB / 441.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/0.2571, allocations: 479.5 kB / 442.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2571, allocations: 0 / 442.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.2572, allocations: 20 kB / 442.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.2572, allocations: 12 kB / 442.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006443/0.2578, allocations: 340.3 kB / 442.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.2606, allocations: 1.69 MB / 444.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.2611, allocations: 257.1 kB / 444.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.2613, allocations: 129.7 kB / 444.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.2613, allocations: 4 kB / 444.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.2614, allocations: 34.55 kB / 444.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.2614, allocations: 0 / 444.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001974/0.2633, allocations: 0.9592 MB / 445.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.2634, allocations: 89.03 kB / 445.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.2639, allocations: 393.6 kB / 446 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.2639, allocations: 33.7 kB / 446 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.2641, allocations: 292.2 kB / 446.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.496e-05/0.2642, allocations: 119 kB / 446.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.2643, allocations: 78.08 kB / 446.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2645, allocations: 350.7 kB / 446.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.2647, allocations: 100.8 kB / 447 MB, free: 8.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.265, allocations: 194.6 kB / 447.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/0.2655, allocations: 309.3 kB / 447.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2655, allocations: 0 / 447.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008474/0.2663, allocations: 449.2 kB / 447.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2664, allocations: 4 kB / 447.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2664, allocations: 4 kB / 447.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.2667, allocations: 85.62 kB / 448 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.2671, allocations: 79.89 kB / 448.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/0.2699, allocations: 3.128 MB / 451.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.2702, allocations: 23.83 kB / 451.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.2702, allocations: 16 kB / 451.2 MB, free: 3.457 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.2704, allocations: 169.8 kB / 451.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.132e-05/0.2705, allocations: 39.77 kB / 451.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.476e-05/0.2706, allocations: 47.47 kB / 451.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2706, allocations: 192 / 451.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.2706, allocations: 7.984 kB / 451.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.2707, allocations: 128.7 kB / 451.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.2707, allocations: 4 kB / 451.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.2711, allocations: 31.98 kB / 451.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.2712, allocations: 27.95 kB / 451.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009591/0.2721, allocations: 0.4927 MB / 452.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008057/0.2729, allocations: 0.6349 MB / 452.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002039/0.2731, allocations: 99.06 kB / 452.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003146/0.2735, allocations: 279.2 kB / 453.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of Backend: time 5.31e-07/0.2735, allocations: 0 / 453.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.2747, allocations: 0.4998 MB / 453.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of SimCode: time 0.001848/0.2766, allocations: 1.423 MB / 455.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Templates: time 0.01099/0.2876, allocations: 5.381 MB / 460.5 MB, free: 10.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.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.709523718804121]