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.0009532/0.0009532, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.0009149/0.0009149, allocations: 163.4 kB / 25.61 MB, free: 8.441 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.9741/0.9741, allocations: 177 MB / 205.9 MB, free: 4.449 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.453e-06/1.453e-06, allocations: 3.938 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.59e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002556/0.002572, allocations: 2.757 MB / 276.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008991/0.003471, allocations: 0.7527 MB / 277.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.003571, allocations: 4 kB / 277.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.738e-05/0.003659, allocations: 63.42 kB / 277.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.003819, allocations: 104.9 kB / 277.8 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.004098, allocations: 132.1 kB / 277.9 MB, free: 484 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.004415, allocations: 463.3 kB / 278.4 MB, free: 16 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.004636, allocations: 153.3 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.004914, allocations: 291.4 kB / 278.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.005067, allocations: 151.5 kB / 279 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.005113, allocations: 48 kB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.931e-05/0.005182, allocations: 51.98 kB / 279 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.00524, allocations: 103.7 kB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.492e-05/0.005335, allocations: 147.7 kB / 279.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.005612, allocations: 330.8 kB / 279.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.005614, allocations: 4 kB / 279.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.005615, allocations: 0 / 279.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.005619, allocations: 0 / 279.6 MB, free: 14.76 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.0006551/0.006274, allocations: 0.7299 MB / 280.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.006304, allocations: 12.03 kB / 280.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.006496, allocations: 88.64 kB / 280.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.006699, allocations: 220.7 kB / 280.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.006722, allocations: 37.38 kB / 280.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.00677, allocations: 48.36 kB / 280.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.007142, allocations: 0.5381 MB / 281.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.007155, allocations: 4.141 kB / 281.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.007178, allocations: 16.38 kB / 281.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.007188, allocations: 11.94 kB / 281.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.007351, allocations: 142.8 kB / 281.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009742/0.008325, allocations: 1.066 MB / 282.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.008526, allocations: 167.7 kB / 282.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.008674, allocations: 124.1 kB / 282.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.008691, allocations: 8 kB / 282.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.008715, allocations: 49.36 kB / 282.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.572e-06/0.008717, allocations: 0 / 282.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006352/0.009352, allocations: 374.2 kB / 283.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.009419, allocations: 239.3 kB / 283.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.00952, allocations: 225.8 kB / 283.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.009539, allocations: 37.7 kB / 283.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.009639, allocations: 255.3 kB / 284 MB, free: 10.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.009688, allocations: 111 kB / 284.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.00975, allocations: 67.33 kB / 284.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.009859, allocations: 0.5001 MB / 284.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.009899, allocations: 31.97 kB / 284.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.01004, allocations: 332.4 kB / 285 MB, free: 8.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.01016, allocations: 125.3 kB / 285.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01016, allocations: 4 kB / 285.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002031/0.01037, allocations: 201.2 kB / 285.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.01038, allocations: 16 kB / 285.3 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.01038, allocations: 0 / 285.3 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.01039, allocations: 0 / 285.3 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.01056, allocations: 79.89 kB / 285.4 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.01057, allocations: 3.938 kB / 285.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.154e-05/0.01064, allocations: 31.78 kB / 285.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.01065, allocations: 11.98 kB / 285.5 MB, free: 8.461 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 8.363e-05/0.01073, allocations: 172.5 kB / 285.6 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.01077, allocations: 35.86 kB / 285.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.01081, allocations: 22.66 kB / 285.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01081, allocations: 8 kB / 285.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.01081, allocations: 7.938 kB / 285.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01082, allocations: 3.984 kB / 285.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.0113, allocations: 0.5631 MB / 286.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.0113, allocations: 0 / 286.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.01142, allocations: 47.91 kB / 286.3 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001964/0.01162, allocations: 91.53 kB / 286.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.01163, allocations: 8 kB / 286.4 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.01266, allocations: 2.075 MB / 288.5 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01266, allocations: 0 / 288.5 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.01298, allocations: 439.6 kB / 288.9 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.013, allocations: 23.8 kB / 288.9 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.01302, allocations: 8 kB / 289 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-05/0.01309, allocations: 8.062 kB / 289 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.01313, allocations: 39.86 kB / 289 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.01314, allocations: 4 kB / 289 MB, free: 4.723 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.0132, allocations: 164.2 kB / 289.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0132, allocations: 0 / 289.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.01341, allocations: 111.7 kB / 289.3 MB, free: 4.453 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 6.995e-05/0.01348, allocations: 103.2 kB / 289.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.01364, allocations: 140.1 kB / 289.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01364, allocations: 0 / 289.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.01386, allocations: 297 kB / 289.8 MB, free: 3.895 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.01407, allocations: 35.97 kB / 289.8 MB, free: 3.859 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/0.01472, allocations: 0.7168 MB / 290.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.055e-05/0.01477, allocations: 96.3 kB / 290.6 MB, free: 2.992 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.117e-05/0.01482, allocations: 21.89 kB / 290.7 MB, free: 2.965 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.01493, allocations: 130.2 kB / 290.8 MB, free: 2.836 MB / 266.7 MB Notification: Performance of SimCode: time 4e-07/0.01493, allocations: 0 / 290.8 MB, free: 2.836 MB / 266.7 MB Notification: Performance of Templates: time 0.004738/0.01967, allocations: 3.391 MB / 294.2 MB, free: 15.49 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=240 -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.8273305515758693]