Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001353/0.001353, allocations: 77.88 kB / 21.42 MB, free: 3.082 MB / 18.57 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.001083/0.001083, allocations: 170.6 kB / 24.82 MB, free: 8.957 MB / 18.57 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 0.9848/0.9848, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.935e-05, allocations: 2.312 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003375/0.003394, allocations: 2.753 MB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.004626, allocations: 0.7554 MB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.004758, allocations: 4 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.004877, allocations: 67.34 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.005098, allocations: 99 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.005465, allocations: 139.7 kB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004197/0.005885, allocations: 454.7 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.006139, allocations: 157.4 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.00651, allocations: 283.4 kB / 278.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.006709, allocations: 151.5 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.839e-05/0.006767, allocations: 44 kB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.006868, allocations: 52 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.006934, allocations: 95.72 kB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.00706, allocations: 159.6 kB / 278.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.007415, allocations: 338.7 kB / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.007417, allocations: 0 / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.007418, allocations: 4 kB / 278.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.007422, allocations: 0 / 278.9 MB, free: 11.78 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0008211/0.008243, allocations: 0.7144 MB / 279.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.008284, allocations: 20.02 kB / 279.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.008494, allocations: 88.66 kB / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.008733, allocations: 220.7 kB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.008762, allocations: 33.38 kB / 280 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.441e-05/0.008826, allocations: 48.33 kB / 280 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.009329, allocations: 0.5498 MB / 280.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.009344, allocations: 192 / 280.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.009375, allocations: 16.38 kB / 280.6 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.009388, allocations: 11.94 kB / 280.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.009607, allocations: 138.9 kB / 280.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.01102, allocations: 1.081 MB / 281.8 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.01128, allocations: 159.2 kB / 282 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.01148, allocations: 124.2 kB / 282.1 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.0115, allocations: 8 kB / 282.1 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.01153, allocations: 37.33 kB / 282.1 MB, free: 8.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.01153, allocations: 0 / 282.1 MB, free: 8.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008578/0.01239, allocations: 374 kB / 282.5 MB, free: 7.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.01248, allocations: 247.2 kB / 282.7 MB, free: 7.637 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.01262, allocations: 233.8 kB / 283 MB, free: 7.391 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.01264, allocations: 29.7 kB / 283 MB, free: 7.355 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.01277, allocations: 259.2 kB / 283.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.01284, allocations: 107.1 kB / 283.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.01292, allocations: 67.33 kB / 283.4 MB, free: 6.918 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.01306, allocations: 0.5001 MB / 283.9 MB, free: 6.406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.01312, allocations: 31.97 kB / 284 MB, free: 6.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.0133, allocations: 325.1 kB / 284.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.01346, allocations: 133.1 kB / 284.4 MB, free: 5.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01347, allocations: 4 kB / 284.4 MB, free: 5.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002585/0.01373, allocations: 193.3 kB / 284.6 MB, free: 5.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.01374, allocations: 8 kB / 284.6 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01375, allocations: 7.922 kB / 284.6 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.01376, allocations: 0 / 284.6 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.014, allocations: 79.91 kB / 284.7 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01401, allocations: 3.938 kB / 284.7 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.01411, allocations: 31.77 kB / 284.7 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.01412, allocations: 12 kB / 284.7 MB, free: 5.492 MB / 266.7 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.0001113/0.01423, allocations: 176.6 kB / 284.9 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.01428, allocations: 35.86 kB / 284.9 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.01433, allocations: 30.64 kB / 285 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.01433, allocations: 3.984 kB / 285 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.01434, allocations: 7.938 kB / 285 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01434, allocations: 0 / 285 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.01501, allocations: 0.5576 MB / 285.5 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01501, allocations: 0 / 285.5 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.01519, allocations: 55.88 kB / 285.6 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/0.01545, allocations: 87.61 kB / 285.7 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.01546, allocations: 8 kB / 285.7 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.01686, allocations: 2.077 MB / 287.8 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01687, allocations: 7.922 kB / 287.8 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/0.01733, allocations: 435.6 kB / 288.2 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.01735, allocations: 19.8 kB / 288.2 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.01737, allocations: 12.03 kB / 288.2 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.01749, allocations: 11.98 kB / 288.2 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.01754, allocations: 31.89 kB / 288.3 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.01755, allocations: 11.94 kB / 288.3 MB, free: 1.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.405e-05/0.01762, allocations: 160.2 kB / 288.4 MB, free: 1.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01762, allocations: 0 / 288.4 MB, free: 1.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.01797, allocations: 115.7 kB / 288.6 MB, free: 1.461 MB / 266.7 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.0001036/0.01807, allocations: 95.25 kB / 288.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.01829, allocations: 144.1 kB / 288.8 MB, free: 1.215 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01829, allocations: 0 / 288.8 MB, free: 1.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.01858, allocations: 296.6 kB / 289.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.01889, allocations: 31.98 kB / 289.1 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/0.01977, allocations: 0.7089 MB / 289.8 MB, free: 132 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.077e-05/0.01984, allocations: 100.3 kB / 289.9 MB, free: 12 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.942e-05/0.01993, allocations: 25.94 kB / 289.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.02007, allocations: 126.2 kB / 290.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02008, allocations: 4 kB / 290.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of Templates: time 0.007167/0.02724, allocations: 3.33 MB / 293.4 MB, free: 12.57 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.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: 2.6634559789672494]