Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002063/0.002063, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.002477/0.002477, allocations: 160.6 kB / 25.02 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.68e-05, allocations: 2.312 kB / 250.3 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004325/0.004352, allocations: 2.536 MB / 252.9 MB, free: 1.398 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.005762, allocations: 0.7253 MB / 253.6 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.005888, allocations: 4 kB / 253.6 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.006039, allocations: 71.34 kB / 253.7 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.006258, allocations: 95.06 kB / 253.8 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.006649, allocations: 123.7 kB / 253.9 MB, free: 384 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005848/0.007234, allocations: 450.8 kB / 254.3 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.007555, allocations: 157.4 kB / 254.5 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.00795, allocations: 271.5 kB / 254.8 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.008192, allocations: 143.5 kB / 254.9 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.717e-05/0.008269, allocations: 48 kB / 254.9 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.663e-05/0.008346, allocations: 44 kB / 255 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.008452, allocations: 99.66 kB / 255.1 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.008645, allocations: 151.7 kB / 255.2 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.009285, allocations: 0.5061 MB / 255.7 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.009289, allocations: 0 / 255.7 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.00929, allocations: 0 / 255.7 MB, free: 14.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.009297, allocations: 0 / 255.7 MB, free: 14.52 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.001209/0.01051, allocations: 0.6146 MB / 256.4 MB, free: 13.88 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.01056, allocations: 19.97 kB / 256.4 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.01071, allocations: 80.59 kB / 256.4 MB, free: 13.78 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.01107, allocations: 217.9 kB / 256.7 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.01111, allocations: 33.38 kB / 256.7 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.852e-05/0.0112, allocations: 44.33 kB / 256.7 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009237/0.01212, allocations: 0.6169 MB / 257.4 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.01214, allocations: 192 / 257.4 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.01219, allocations: 24.38 kB / 257.4 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.0122, allocations: 15.94 kB / 257.4 MB, free: 12.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/0.01279, allocations: 279.9 kB / 257.7 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.01497, allocations: 1.097 MB / 258.8 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.01545, allocations: 218.7 kB / 259 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/0.01587, allocations: 176.7 kB / 259.2 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.01589, allocations: 8 kB / 259.2 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.01593, allocations: 42.5 kB / 259.2 MB, free: 10.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.01593, allocations: 0 / 259.2 MB, free: 10.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.001484/0.01741, allocations: 478.4 kB / 259.7 MB, free: 10.36 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/0.01759, allocations: 243.3 kB / 259.9 MB, free: 10.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.01781, allocations: 182.7 kB / 260.1 MB, free: 9.879 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.01784, allocations: 33.7 kB / 260.1 MB, free: 9.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.01801, allocations: 208.5 kB / 260.3 MB, free: 9.633 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.01811, allocations: 107.1 kB / 260.4 MB, free: 9.527 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.01822, allocations: 65.69 kB / 260.5 MB, free: 9.457 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.01841, allocations: 330.8 kB / 260.8 MB, free: 9.125 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.01857, allocations: 75.97 kB / 260.9 MB, free: 9.051 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.01895, allocations: 336.5 kB / 261.2 MB, free: 8.648 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009607/0.01991, allocations: 365.9 kB / 261.6 MB, free: 8.281 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01991, allocations: 4 kB / 261.6 MB, free: 8.277 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005311/0.02044, allocations: 289.2 kB / 261.9 MB, free: 7.988 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.02046, allocations: 8 kB / 261.9 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.02046, allocations: 0 / 261.9 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.02049, allocations: 3.938 kB / 261.9 MB, free: 7.977 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.02085, allocations: 87.89 kB / 262 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.02086, allocations: 4 kB / 262 MB, free: 7.887 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.02103, allocations: 27.78 kB / 262 MB, free: 7.859 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.02106, allocations: 11.98 kB / 262 MB, free: 7.848 MB / 250.7 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real C1.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real 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.0002939/0.02135, allocations: 161.8 kB / 262.2 MB, free: 7.68 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.095e-05/0.02142, allocations: 31.86 kB / 262.2 MB, free: 7.648 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.609e-05/0.0215, allocations: 34.64 kB / 262.2 MB, free: 7.613 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.0215, allocations: 3.938 kB / 262.2 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/0.02152, allocations: 4 kB / 262.2 MB, free: 7.605 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.02153, allocations: 0 / 262.2 MB, free: 7.605 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.02266, allocations: 0.6419 MB / 262.9 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02266, allocations: 0 / 262.9 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.02293, allocations: 56 kB / 262.9 MB, free: 6.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004049/0.02334, allocations: 108.7 kB / 263 MB, free: 6.758 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.02335, allocations: 4 kB / 263 MB, free: 6.754 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.02572, allocations: 1.839 MB / 264.9 MB, free: 4.816 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.02573, allocations: 7.875 kB / 264.9 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008997/0.02663, allocations: 0.4984 MB / 265.4 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.02667, allocations: 23.91 kB / 265.4 MB, free: 4.266 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.02671, allocations: 16 kB / 265.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.02711, allocations: 11.98 kB / 265.4 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.02719, allocations: 23.89 kB / 265.5 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.02721, allocations: 12 kB / 265.5 MB, free: 4.203 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.02734, allocations: 136.3 kB / 265.6 MB, free: 4.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02734, allocations: 0 / 265.6 MB, free: 4.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004343/0.02777, allocations: 103.7 kB / 265.7 MB, free: 3.969 MB / 250.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.0001518/0.02792, allocations: 107.2 kB / 265.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004454/0.02837, allocations: 196 kB / 266 MB, free: 3.664 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02837, allocations: 0 / 266 MB, free: 3.664 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000496/0.02887, allocations: 270.5 kB / 266.3 MB, free: 3.387 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.02918, allocations: 34.72 kB / 266.3 MB, free: 3.355 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.03048, allocations: 0.7399 MB / 267 MB, free: 2.582 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.03068, allocations: 176.8 kB / 267.2 MB, free: 2.387 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.749e-05/0.03077, allocations: 25.92 kB / 267.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.03083, allocations: 24.5 kB / 267.3 MB, free: 2.34 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.03083, allocations: 0 / 267.3 MB, free: 2.34 MB / 250.7 MB Notification: Performance of Templates: time 0.007473/0.0383, allocations: 2.882 MB / 270.1 MB, free: 15.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.396167373051867]