Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001384/0.001384, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001432/0.001432, allocations: 211.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 63.83 kB / 378.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.261, allocations: 53.41 MB / 431.7 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005528/0.2665, allocations: 3.712 MB / 435.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.2685, allocations: 0.9269 MB / 436.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.2687, allocations: 11.94 kB / 436.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.269, allocations: 87.08 kB / 436.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.2694, allocations: 194.4 kB / 436.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.2698, allocations: 163.7 kB / 436.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007223/0.2705, allocations: 0.6771 MB / 437.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.2708, allocations: 130.3 kB / 437.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.2712, allocations: 282.9 kB / 437.8 MB, free: 288 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.2715, allocations: 250.7 kB / 438.1 MB, free: 36 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.913e-05/0.2716, allocations: 52.05 kB / 438.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.2718, allocations: 64 kB / 438.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.2719, allocations: 131.3 kB / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.2722, allocations: 258.8 kB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007868/0.2729, allocations: 0.6532 MB / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2729, allocations: 0 / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2729, allocations: 0 / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.273, allocations: 0 / 439.2 MB, free: 14.89 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.001493/0.2745, allocations: 0.8086 MB / 440 MB, free: 14.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.2745, allocations: 15.98 kB / 440 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.2748, allocations: 88.5 kB / 440.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.2754, allocations: 314.1 kB / 440.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.2754, allocations: 33.38 kB / 440.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.417e-05/0.2755, allocations: 52.33 kB / 440.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000965/0.2765, allocations: 0.6267 MB / 441.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.2765, allocations: 4 kB / 441.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/0.2766, allocations: 24 kB / 441.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.2766, allocations: 12 kB / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.2772, allocations: 328.4 kB / 441.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.2801, allocations: 1.459 MB / 443 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.2806, allocations: 241.1 kB / 443.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.2809, allocations: 133.7 kB / 443.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.2809, allocations: 4 kB / 443.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.2809, allocations: 38.56 kB / 443.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.083e-06/0.2809, allocations: 4 kB / 443.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001891/0.2828, allocations: 0.8158 MB / 444.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.2829, allocations: 85.11 kB / 444.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.2833, allocations: 377.5 kB / 444.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.2834, allocations: 33.7 kB / 444.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.2836, allocations: 292.1 kB / 445 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.2837, allocations: 123 kB / 445.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.2838, allocations: 78.08 kB / 445.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.284, allocations: 350.7 kB / 445.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.2843, allocations: 96.83 kB / 445.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.2846, allocations: 198.5 kB / 445.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.2851, allocations: 312.4 kB / 446.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2851, allocations: 0 / 446.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008603/0.286, allocations: 442.6 kB / 446.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.286, allocations: 8 kB / 446.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.286, allocations: 4.312 kB / 446.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.2864, allocations: 81.66 kB / 446.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.2867, allocations: 79.83 kB / 446.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/0.2896, allocations: 2.866 MB / 449.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.2899, allocations: 19.92 kB / 449.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.2899, allocations: 16 kB / 449.6 MB, free: 3.914 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.0002416/0.2901, allocations: 165.9 kB / 449.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2903, allocations: 47.66 kB / 449.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.066e-05/0.2903, allocations: 43.3 kB / 449.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2903, allocations: 4 kB / 449.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.2903, allocations: 7.984 kB / 449.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2904, allocations: 0 / 449.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.2919, allocations: 0.8022 MB / 450.7 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2919, allocations: 8 kB / 450.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.2921, allocations: 43.91 kB / 450.7 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002924/0.2924, allocations: 85.59 kB / 450.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.2924, allocations: 8 kB / 450.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002902/0.2953, allocations: 2.871 MB / 453.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2953, allocations: 0 / 453.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.2964, allocations: 0.6068 MB / 454.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.2965, allocations: 35.8 kB / 454.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/0.2965, allocations: 11.98 kB / 454.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.2969, allocations: 32.05 kB / 454.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/0.297, allocations: 23.95 kB / 454.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.297, allocations: 11.98 kB / 454.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003355/0.2973, allocations: 263.2 kB / 454.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2973, allocations: 0 / 454.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006463/0.298, allocations: 116 kB / 454.8 MB, free: 14.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0001794/0.2982, allocations: 115.1 kB / 454.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.2992, allocations: 0.4952 MB / 455.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.2992, allocations: 8.547 kB / 455.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006826/0.2999, allocations: 385.2 kB / 455.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.3004, allocations: 53.41 kB / 455.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3023, allocations: 0.9551 MB / 456.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.3026, allocations: 238.2 kB / 457 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.3028, allocations: 43.27 kB / 457 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.3028, allocations: 31.42 kB / 457.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3028, allocations: 0 / 457.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Templates: time 0.01197/0.3148, allocations: 5.058 MB / 462.1 MB, free: 7.043 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.061115268617868]