Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 78.28 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009165/0.0009165, allocations: 149.5 kB / 24.8 MB, free: 9.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.045/1.045, allocations: 173.3 MB / 201.4 MB, free: 9.242 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.608e-05, allocations: 10.25 kB / 268.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003805/0.003831, allocations: 3.976 MB / 272.4 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.005471, allocations: 0.8644 MB / 273.3 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.005708, allocations: 11.94 kB / 273.3 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.005899, allocations: 91.14 kB / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.006197, allocations: 202.2 kB / 273.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.00653, allocations: 143.8 kB / 273.7 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005974/0.007128, allocations: 0.6962 MB / 274.4 MB, free: 176 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.007411, allocations: 147.6 kB / 274.6 MB, free: 20 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005435/0.007954, allocations: 391.1 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.008218, allocations: 215.3 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.464e-05/0.008293, allocations: 56 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.893e-05/0.008372, allocations: 56 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.399e-05/0.008466, allocations: 135.4 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.008656, allocations: 207.5 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.009112, allocations: 442.3 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.009114, allocations: 4 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.009115, allocations: 0 / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.009121, allocations: 0 / 276 MB, free: 14.54 MB / 266.7 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.001062/0.01018, allocations: 0.9084 MB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.01022, allocations: 8.031 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.01034, allocations: 104.5 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.01071, allocations: 300.2 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.01074, allocations: 41.36 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.01081, allocations: 52.33 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.01134, allocations: 0.5109 MB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.01135, allocations: 4.188 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.01139, allocations: 20.38 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.01141, allocations: 15.94 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.01162, allocations: 147.8 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.0134, allocations: 1.516 MB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.01368, allocations: 206 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.845e-05/0.01378, allocations: 87.25 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.0138, allocations: 4 kB / 279.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.01383, allocations: 45.64 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.564e-06/0.01383, allocations: 0 / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009805/0.01481, allocations: 0.5384 MB / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.01485, allocations: 81.11 kB / 280.6 MB, free: 9.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.01512, allocations: 390.4 kB / 281 MB, free: 9.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.01515, allocations: 37.64 kB / 281 MB, free: 9.219 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.01532, allocations: 342.8 kB / 281.4 MB, free: 8.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.01539, allocations: 123 kB / 281.5 MB, free: 8.758 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.01549, allocations: 83.77 kB / 281.6 MB, free: 8.668 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.01565, allocations: 0.5234 MB / 282.1 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.01573, allocations: 36.97 kB / 282.1 MB, free: 8.098 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.01587, allocations: 169.2 kB / 282.3 MB, free: 7.883 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.0161, allocations: 238.7 kB / 282.5 MB, free: 7.602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01611, allocations: 0 / 282.5 MB, free: 7.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004646/0.01657, allocations: 343.7 kB / 282.9 MB, free: 7.254 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.01659, allocations: 14.44 kB / 282.9 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.0166, allocations: 4 kB / 282.9 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.01694, allocations: 103.3 kB / 283 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.01714, allocations: 71.91 kB / 283 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.01915, allocations: 3.82 MB / 286.9 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.01933, allocations: 19.94 kB / 286.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.01935, allocations: 11.94 kB / 286.9 MB, free: 2.98 MB / 266.7 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,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.01949, allocations: 184.6 kB / 287.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.01957, allocations: 51.77 kB / 287.1 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.01962, allocations: 47.2 kB / 287.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.01963, allocations: 4 kB / 287.2 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.01964, allocations: 0 / 287.2 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.01964, allocations: 7.984 kB / 287.2 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000867/0.02051, allocations: 0.7345 MB / 287.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.02051, allocations: 0 / 287.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.02063, allocations: 47.92 kB / 288 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003067/0.02094, allocations: 107.2 kB / 288.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.02095, allocations: 8 kB / 288.1 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.02274, allocations: 3.812 MB / 291.9 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.02275, allocations: 3.938 kB / 291.9 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.02324, allocations: 0.5648 MB / 292.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.02329, allocations: 39.75 kB / 292.5 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.02332, allocations: 4 kB / 292.5 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.02353, allocations: 32.02 kB / 292.5 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.02358, allocations: 23.95 kB / 292.6 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.0236, allocations: 12.17 kB / 292.6 MB, free: 12.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.02376, allocations: 259 kB / 292.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02376, allocations: 0 / 292.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005086/0.02427, allocations: 116 kB / 292.9 MB, free: 12.63 MB / 282.7 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.0001431/0.02441, allocations: 119.2 kB / 293 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005527/0.02497, allocations: 0.53 MB / 293.6 MB, free: 11.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.02497, allocations: 4 kB / 293.6 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.02533, allocations: 459.5 kB / 294 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.02576, allocations: 49.47 kB / 294.1 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.02722, allocations: 0.8829 MB / 295 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.67e-05/0.02731, allocations: 117.9 kB / 295.1 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.02744, allocations: 43.25 kB / 295.1 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.02762, allocations: 142.2 kB / 295.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02762, allocations: 0 / 295.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of Templates: time 0.008785/0.0364, allocations: 4.803 MB / 300.1 MB, free: 5.441 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2482116483151913]