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.0009017/0.0009017, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001338/0.001338, allocations: 148.6 kB / 24.9 MB, free: 8.727 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 0.8996/0.8996, allocations: 173.4 MB / 201.5 MB, free: 8.73 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.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.322e-06/1.322e-06, allocations: 0 / 268.4 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.276e-05, allocations: 6.109 kB / 268.5 MB, free: 6.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002542/0.002565, allocations: 2.75 MB / 271.2 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.003594, allocations: 0.7395 MB / 271.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.003694, allocations: 8 kB / 272 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.413e-05/0.003788, allocations: 67.36 kB / 272 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.003963, allocations: 103 kB / 272.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.004251, allocations: 119.8 kB / 272.2 MB, free: 2.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.004601, allocations: 462.6 kB / 272.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.004809, allocations: 163.2 kB / 272.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.005064, allocations: 287.5 kB / 273.1 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.005215, allocations: 139.6 kB / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.005263, allocations: 44 kB / 273.3 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.012e-05/0.005303, allocations: 48 kB / 273.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.005361, allocations: 107.6 kB / 273.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.888e-05/0.005459, allocations: 151.7 kB / 273.6 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.005704, allocations: 322.8 kB / 273.9 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005706, allocations: 0 / 273.9 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005706, allocations: 0 / 273.9 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.00571, allocations: 0 / 273.9 MB, free: 0.5273 MB / 250.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.0006194/0.00633, allocations: 0.6009 MB / 274.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.006377, allocations: 12.03 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.006454, allocations: 64.88 kB / 274.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.006643, allocations: 181.9 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.006663, allocations: 33.38 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.006714, allocations: 48.38 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.007063, allocations: 0.5238 MB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.007077, allocations: 192 / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.007099, allocations: 20.94 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.007108, allocations: 12 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.007247, allocations: 114.9 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009165/0.008163, allocations: 0.9114 MB / 276.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.008349, allocations: 146.7 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.00849, allocations: 124.7 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.008506, allocations: 8 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.008528, allocations: 34.56 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.282e-06/0.008529, allocations: 3.938 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.00056/0.009089, allocations: 334.5 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.00916, allocations: 235.3 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.825e-05/0.009248, allocations: 170.6 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.009266, allocations: 33.7 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.00934, allocations: 204.5 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.009389, allocations: 107 kB / 277.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.009446, allocations: 65.67 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.00952, allocations: 334.7 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.502e-05/0.009555, allocations: 27.98 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.009678, allocations: 300.1 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.009784, allocations: 123.1 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009786, allocations: 0 / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001482/0.009934, allocations: 153.4 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.009946, allocations: 6.969 kB / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.009951, allocations: 12.06 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.009962, allocations: 0 / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.01013, allocations: 83.89 kB / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.01013, allocations: 0 / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.443e-05/0.0102, allocations: 23.84 kB / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.01021, allocations: 11.94 kB / 278.9 MB, free: 11.13 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 7.962e-05/0.01029, allocations: 129.7 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.01032, allocations: 27.97 kB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.01035, allocations: 26.66 kB / 279.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01035, allocations: 8 kB / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01035, allocations: 0 / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.01036, allocations: 7.922 kB / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.01077, allocations: 449.9 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.01077, allocations: 4 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.0109, allocations: 43.97 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001938/0.01109, allocations: 88.75 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.0111, allocations: 7.938 kB / 279.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008506/0.01195, allocations: 1.487 MB / 281.2 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01195, allocations: 7.938 kB / 281.2 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.01222, allocations: 337.4 kB / 281.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.01224, allocations: 27.78 kB / 281.6 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.01226, allocations: 8 kB / 281.6 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.01233, allocations: 11.94 kB / 281.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.01236, allocations: 23.95 kB / 281.6 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.01237, allocations: 4.062 kB / 281.6 MB, free: 8.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.095e-05/0.0124, allocations: 49.91 kB / 281.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0124, allocations: 0 / 281.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001974/0.0126, allocations: 115.6 kB / 281.8 MB, free: 8.137 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 8.285e-05/0.01268, allocations: 84.41 kB / 281.8 MB, free: 8.047 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.01283, allocations: 120.9 kB / 282 MB, free: 7.926 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.01283, allocations: 4 kB / 282 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.01304, allocations: 252 kB / 282.2 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.01321, allocations: 32.06 kB / 282.2 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.01379, allocations: 0.6262 MB / 282.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.279e-05/0.01384, allocations: 100.3 kB / 283 MB, free: 6.852 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.146e-05/0.0139, allocations: 25.94 kB / 283 MB, free: 6.828 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.014, allocations: 99.36 kB / 283.1 MB, free: 6.73 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.014, allocations: 0 / 283.1 MB, free: 6.73 MB / 266.7 MB Notification: Performance of Templates: time 0.004801/0.0188, allocations: 3.284 MB / 286.4 MB, free: 3.488 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] 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","",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.6684622769244015]