Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001568/0.001568, allocations: 96.67 kB / 20.95 MB, free: 456 kB / 14.72 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.001842/0.001842, allocations: 146.9 kB / 24.24 MB, free: 3.492 MB / 14.72 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.395/1.395, allocations: 173.3 MB / 200.8 MB, free: 12.75 MB / 190.1 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.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.592e-05, allocations: 2.312 kB / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003744/0.00377, allocations: 2.575 MB / 269.9 MB, free: 7.617 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.005011, allocations: 0.6971 MB / 270.6 MB, free: 6.914 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.005123, allocations: 4 kB / 270.6 MB, free: 6.91 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.005249, allocations: 63.41 kB / 270.6 MB, free: 6.848 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.005462, allocations: 99 kB / 270.7 MB, free: 6.75 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.005795, allocations: 131.7 kB / 270.9 MB, free: 6.621 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004947/0.00629, allocations: 466.5 kB / 271.3 MB, free: 6.16 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.006587, allocations: 161.2 kB / 271.5 MB, free: 6 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003487/0.006935, allocations: 271.5 kB / 271.7 MB, free: 5.734 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.007162, allocations: 143.6 kB / 271.9 MB, free: 5.594 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 8.019e-05/0.007242, allocations: 48 kB / 271.9 MB, free: 5.547 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.447e-05/0.007317, allocations: 47.94 kB / 272 MB, free: 5.5 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 9.072e-05/0.007408, allocations: 95.7 kB / 272.1 MB, free: 5.406 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.007594, allocations: 155.7 kB / 272.2 MB, free: 5.254 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.008141, allocations: 0.5179 MB / 272.7 MB, free: 4.734 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.008144, allocations: 0 / 272.7 MB, free: 4.734 MB / 254.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.008145, allocations: 0 / 272.7 MB, free: 4.734 MB / 254.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.00815, allocations: 0 / 272.7 MB, free: 4.734 MB / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001109/0.009259, allocations: 0.6146 MB / 273.4 MB, free: 4.09 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.009295, allocations: 12.03 kB / 273.4 MB, free: 4.078 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.009432, allocations: 76.66 kB / 273.4 MB, free: 4.004 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.009746, allocations: 221.8 kB / 273.7 MB, free: 3.758 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.009786, allocations: 37.38 kB / 273.7 MB, free: 3.719 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.201e-05/0.009868, allocations: 40.38 kB / 273.7 MB, free: 3.68 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008327/0.0107, allocations: 0.613 MB / 274.3 MB, free: 2.992 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.01072, allocations: 192 / 274.3 MB, free: 2.992 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.01076, allocations: 16.38 kB / 274.4 MB, free: 2.977 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.01078, allocations: 19.92 kB / 274.4 MB, free: 2.957 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.01137, allocations: 283.9 kB / 274.7 MB, free: 2.68 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.01324, allocations: 1.117 MB / 275.8 MB, free: 1.496 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.0137, allocations: 213.5 kB / 276 MB, free: 1.281 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003894/0.01409, allocations: 177.2 kB / 276.2 MB, free: 1.105 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.01411, allocations: 4 kB / 276.2 MB, free: 1.102 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.01414, allocations: 42.55 kB / 276.2 MB, free: 1.051 MB / 254.1 MB Notification: Performance of pre-optimization done (n=29): time 1.533e-06/0.01415, allocations: 4 kB / 276.2 MB, free: 1.047 MB / 254.1 MB Notification: Performance of matching and sorting (n=29): time 0.001449/0.01559, allocations: 486.4 kB / 276.7 MB, free: 0.5625 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.01573, allocations: 235.3 kB / 276.9 MB, free: 284 kB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.01591, allocations: 178.8 kB / 277.1 MB, free: 92 kB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.01595, allocations: 33.7 kB / 277.1 MB, free: 52 kB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.01611, allocations: 212.5 kB / 277.3 MB, free: 15.84 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.253e-05/0.0162, allocations: 111.1 kB / 277.4 MB, free: 15.73 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.01631, allocations: 57.7 kB / 277.5 MB, free: 15.67 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.01646, allocations: 330.8 kB / 277.8 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.01663, allocations: 71.97 kB / 277.9 MB, free: 15.27 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.01696, allocations: 348.6 kB / 278.2 MB, free: 14.85 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.01731, allocations: 203.1 kB / 278.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01731, allocations: 4 kB / 278.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005005/0.01782, allocations: 277.2 kB / 278.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.01783, allocations: 10.19 kB / 278.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01784, allocations: 0 / 278.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.01786, allocations: 3.938 kB / 278.7 MB, free: 14.35 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.01821, allocations: 87.95 kB / 278.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.01822, allocations: 4 kB / 278.8 MB, free: 14.26 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.01838, allocations: 27.83 kB / 278.8 MB, free: 14.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.0184, allocations: 12 kB / 278.8 MB, free: 14.22 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * 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.0001621/0.01856, allocations: 149.8 kB / 279 MB, free: 14.07 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.01863, allocations: 27.91 kB / 279 MB, free: 14.04 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.0187, allocations: 34.62 kB / 279 MB, free: 14.01 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.01871, allocations: 7.938 kB / 279.1 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.01871, allocations: 0 / 279.1 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01872, allocations: 7.938 kB / 279.1 MB, free: 13.99 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.01975, allocations: 0.6498 MB / 279.7 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.01976, allocations: 4 kB / 279.7 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.02002, allocations: 43.97 kB / 279.8 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003116/0.02033, allocations: 84.81 kB / 279.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.02036, allocations: 15.98 kB / 279.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.02243, allocations: 1.846 MB / 281.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.02244, allocations: 7.875 kB / 281.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008131/0.02325, allocations: 0.4944 MB / 282.2 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.02329, allocations: 27.86 kB / 282.2 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.02332, allocations: 16 kB / 282.3 MB, free: 10.63 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.02348, allocations: 8 kB / 282.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.02355, allocations: 35.88 kB / 282.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.02357, allocations: 4 kB / 282.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.02367, allocations: 132.8 kB / 282.4 MB, free: 10.46 MB / 270.1 MB Notification: Performance of sort global known variables: time 6e-08/0.02367, allocations: 0 / 282.4 MB, free: 10.46 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.02406, allocations: 115.7 kB / 282.5 MB, free: 10.34 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001169/0.02417, allocations: 95.25 kB / 282.6 MB, free: 10.24 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004077/0.02458, allocations: 203.8 kB / 282.8 MB, free: 10.04 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02458, allocations: 0 / 282.8 MB, free: 10.04 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.02501, allocations: 265.9 kB / 283.1 MB, free: 9.773 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.02538, allocations: 31.98 kB / 283.1 MB, free: 9.742 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.02652, allocations: 0.7449 MB / 283.9 MB, free: 8.961 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.02669, allocations: 176.8 kB / 284 MB, free: 8.77 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.493e-05/0.02677, allocations: 29.92 kB / 284.1 MB, free: 8.738 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.02683, allocations: 20.5 kB / 284.1 MB, free: 8.719 MB / 270.1 MB Notification: Performance of SimCode: time 2.91e-07/0.02683, allocations: 0 / 284.1 MB, free: 8.719 MB / 270.1 MB Notification: Performance of Templates: time 0.007449/0.03428, allocations: 3.104 MB / 287.2 MB, free: 5.648 MB / 270.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.077640317380428]