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.0008942/0.0008942, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001094/0.001094, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 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 0.9442/0.9442, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] 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.152e-06/1.152e-06, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.803e-05, allocations: 9.266 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002768/0.002786, allocations: 2.8 MB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.003976, allocations: 0.7864 MB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.004096, allocations: 4 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.633e-05/0.004192, allocations: 63.36 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.004378, allocations: 103 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.0047, allocations: 131.7 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.005088, allocations: 458.6 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.005311, allocations: 163.3 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.00564, allocations: 283.4 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.005802, allocations: 147.6 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.005846, allocations: 44 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.775e-05/0.005934, allocations: 52 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.005988, allocations: 111.6 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.00609, allocations: 155.6 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.006375, allocations: 334.7 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006377, allocations: 4 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006378, allocations: 0 / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.006383, allocations: 0 / 279 MB, free: 11.41 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.0005626/0.006946, allocations: 0.5898 MB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.006978, allocations: 15.98 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.007137, allocations: 72.88 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.007325, allocations: 185.9 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.007345, allocations: 29.38 kB / 279.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.00739, allocations: 48.38 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.007741, allocations: 0.5316 MB / 280.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.007754, allocations: 192 / 280.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.007774, allocations: 16.38 kB / 280.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.007785, allocations: 19.94 kB / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.007926, allocations: 118.9 kB / 280.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009341/0.00886, allocations: 0.9153 MB / 281.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.009045, allocations: 142.7 kB / 281.7 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.009182, allocations: 116.7 kB / 281.8 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.009205, allocations: 4 kB / 281.8 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.009231, allocations: 46.55 kB / 281.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.374e-06/0.009233, allocations: 3.984 kB / 281.9 MB, free: 8.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005657/0.009799, allocations: 331.3 kB / 282.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.009867, allocations: 239.3 kB / 282.4 MB, free: 7.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.009964, allocations: 178.5 kB / 282.6 MB, free: 7.562 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.009981, allocations: 33.7 kB / 282.6 MB, free: 7.523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.01006, allocations: 192.5 kB / 282.8 MB, free: 7.332 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.01011, allocations: 115 kB / 282.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.01017, allocations: 65.66 kB / 283 MB, free: 7.148 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.418e-05/0.01024, allocations: 334.8 kB / 283.3 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.568e-05/0.01028, allocations: 23.98 kB / 283.3 MB, free: 6.789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.01041, allocations: 292.1 kB / 283.6 MB, free: 6.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.01052, allocations: 124.6 kB / 283.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01052, allocations: 0 / 283.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001572/0.01068, allocations: 161.3 kB / 283.9 MB, free: 6.137 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.01069, allocations: 8 kB / 283.9 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.0107, allocations: 0 / 283.9 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.01071, allocations: 0 / 283.9 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.01096, allocations: 114.8 kB / 284 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.01097, allocations: 4 kB / 284 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.93e-05/0.01103, allocations: 23.84 kB / 284 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.01105, allocations: 11.98 kB / 284.1 MB, free: 5.98 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.92e-05/0.01112, allocations: 125.8 kB / 284.2 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.01116, allocations: 23.92 kB / 284.2 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.01119, allocations: 30.64 kB / 284.2 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01119, allocations: 4 kB / 284.2 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.0112, allocations: 4 kB / 284.2 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.0112, allocations: 0 / 284.2 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.01163, allocations: 450 kB / 284.7 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01164, allocations: 0 / 284.7 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.0118, allocations: 67.88 kB / 284.7 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/0.012, allocations: 88.7 kB / 284.8 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01202, allocations: 11.98 kB / 284.8 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008979/0.01291, allocations: 1.483 MB / 286.3 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01292, allocations: 0 / 286.3 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.0132, allocations: 349.7 kB / 286.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.01322, allocations: 27.67 kB / 286.7 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.01324, allocations: 11.98 kB / 286.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.01331, allocations: 8 kB / 286.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.01335, allocations: 27.95 kB / 286.7 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.01336, allocations: 0 / 286.7 MB, free: 3.141 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.313e-05/0.01339, allocations: 49.86 kB / 286.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01339, allocations: 0 / 286.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.01361, allocations: 115.8 kB / 286.9 MB, free: 2.977 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.502e-05/0.01369, allocations: 84.36 kB / 287 MB, free: 2.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.01386, allocations: 117.6 kB / 287.1 MB, free: 2.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.01386, allocations: 0 / 287.1 MB, free: 2.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.01408, allocations: 246.5 kB / 287.3 MB, free: 2.516 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.01426, allocations: 52.09 kB / 287.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/0.01492, allocations: 0.6184 MB / 288 MB, free: 1.812 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.743e-05/0.01498, allocations: 96.3 kB / 288.1 MB, free: 1.699 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.01504, allocations: 29.92 kB / 288.1 MB, free: 1.668 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.01517, allocations: 111.3 kB / 288.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01517, allocations: 0 / 288.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of Templates: time 0.09316/0.1083, allocations: 3.558 MB / 291.8 MB, free: 26.1 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] 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","",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.61298011476174]