Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00209/0.00209, allocations: 92.27 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002549/0.002549, allocations: 160.9 kB / 24.26 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.635e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004443/0.004469, allocations: 2.6 MB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.006008, allocations: 0.7437 MB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.006134, allocations: 8 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.006279, allocations: 63.42 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.006543, allocations: 98.98 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.00694, allocations: 131.7 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005422/0.007482, allocations: 462.6 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.007796, allocations: 157.3 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.008268, allocations: 287.4 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.008504, allocations: 139.6 kB / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.321e-05/0.008577, allocations: 44 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.008698, allocations: 55.98 kB / 276.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.008802, allocations: 99.66 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.009001, allocations: 167.6 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006769/0.009678, allocations: 0.5101 MB / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.009681, allocations: 0 / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009683, allocations: 0 / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.009691, allocations: 0 / 277.7 MB, free: 12.24 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.001212/0.0109, allocations: 0.6223 MB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.01094, allocations: 11.98 kB / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/0.01126, allocations: 92.64 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.01159, allocations: 213.9 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.01163, allocations: 37.38 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.231e-05/0.01172, allocations: 48.33 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009532/0.01267, allocations: 0.6169 MB / 279.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.01269, allocations: 192 / 279.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.01274, allocations: 24.38 kB / 279.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.01275, allocations: 11.94 kB / 279.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006261/0.01338, allocations: 279.9 kB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.01549, allocations: 1.105 MB / 280.8 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.01598, allocations: 222.7 kB / 281 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/0.0164, allocations: 184.6 kB / 281.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.01642, allocations: 4 kB / 281.2 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.01646, allocations: 38.56 kB / 281.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.363e-06/0.01646, allocations: 0 / 281.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001491/0.01795, allocations: 487.1 kB / 281.7 MB, free: 8.043 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000396/0.01835, allocations: 239.3 kB / 281.9 MB, free: 7.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.01855, allocations: 174.7 kB / 282.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.01858, allocations: 33.7 kB / 282.1 MB, free: 7.531 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.01875, allocations: 208.6 kB / 282.3 MB, free: 7.324 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.01886, allocations: 111.1 kB / 282.4 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.01898, allocations: 61.69 kB / 282.5 MB, free: 7.148 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.01916, allocations: 326.8 kB / 282.8 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.01934, allocations: 83.95 kB / 282.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.01971, allocations: 340 kB / 283.2 MB, free: 6.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/0.02025, allocations: 204.6 kB / 283.4 MB, free: 6.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02026, allocations: 0 / 283.4 MB, free: 6.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005324/0.02079, allocations: 289.3 kB / 283.7 MB, free: 5.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.02081, allocations: 4 kB / 283.7 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.02081, allocations: 0 / 283.7 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.02084, allocations: 7.938 kB / 283.7 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.02122, allocations: 79.89 kB / 283.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.02123, allocations: 0 / 283.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.0214, allocations: 31.78 kB / 283.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.02142, allocations: 11.98 kB / 283.8 MB, free: 5.703 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.0001817/0.02161, allocations: 153.8 kB / 284 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.509e-05/0.02168, allocations: 39.8 kB / 284 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.1e-05/0.02175, allocations: 26.66 kB / 284.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.02176, allocations: 3.938 kB / 284.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.02177, allocations: 4 kB / 284.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.02178, allocations: 3.984 kB / 284.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.02293, allocations: 0.642 MB / 284.7 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.02293, allocations: 0 / 284.7 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.0232, allocations: 52 kB / 284.8 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004278/0.02363, allocations: 104.7 kB / 284.9 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.02365, allocations: 8 kB / 284.9 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.02604, allocations: 1.843 MB / 286.7 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.02605, allocations: 3.938 kB / 286.7 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/0.02695, allocations: 0.506 MB / 287.2 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.02699, allocations: 23.8 kB / 287.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.02703, allocations: 16.19 kB / 287.3 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.0272, allocations: 15.98 kB / 287.3 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.02727, allocations: 23.95 kB / 287.3 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.02729, allocations: 8 kB / 287.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.02742, allocations: 128.3 kB / 287.4 MB, free: 1.926 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02742, allocations: 0 / 287.4 MB, free: 1.926 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004447/0.02786, allocations: 115.7 kB / 287.5 MB, free: 1.812 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.000146/0.02801, allocations: 103.2 kB / 287.6 MB, free: 1.703 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000445/0.02845, allocations: 207.7 kB / 287.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02846, allocations: 0 / 287.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004925/0.02895, allocations: 261.9 kB / 288.1 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.02936, allocations: 31.98 kB / 288.1 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.03086, allocations: 0.7396 MB / 288.9 MB, free: 440 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.03106, allocations: 184.8 kB / 289.1 MB, free: 232 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.146e-05/0.03115, allocations: 25.89 kB / 289.1 MB, free: 208 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.03121, allocations: 20.5 kB / 289.1 MB, free: 188 kB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03121, allocations: 0 / 289.1 MB, free: 188 kB / 266.7 MB Notification: Performance of Templates: time 0.007744/0.03896, allocations: 3.113 MB / 292.2 MB, free: 13.1 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.439268508111127]