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.002342/0.002342, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002883/0.002883, allocations: 160.8 kB / 24.27 MB, free: 156 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.572/1.572, allocations: 177 MB / 204.4 MB, free: 5.617 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.713e-06/1.713e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.008e-05/4.179e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004547/0.004589, allocations: 2.766 MB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.006089, allocations: 0.7515 MB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.006209, allocations: 8 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.006333, allocations: 55.42 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.006575, allocations: 103 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.006957, allocations: 135.7 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005353/0.007492, allocations: 458.6 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.007786, allocations: 157.3 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.008231, allocations: 283.4 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.008472, allocations: 143.6 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-05/0.00855, allocations: 48 kB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.008873, allocations: 51.98 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.008987, allocations: 107.6 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.009174, allocations: 163.6 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.009828, allocations: 0.5218 MB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.009831, allocations: 0 / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.009833, allocations: 0 / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.00984, allocations: 0 / 277.9 MB, free: 12.07 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.001277/0.01112, allocations: 0.7454 MB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.01116, allocations: 11.98 kB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.01145, allocations: 92.64 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.01179, allocations: 224.7 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.01183, allocations: 33.38 kB / 279 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.03e-05/0.01192, allocations: 48.33 kB / 279.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009381/0.01286, allocations: 0.6469 MB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.01288, allocations: 4.188 kB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.01292, allocations: 16.38 kB / 279.7 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.01294, allocations: 11.94 kB / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/0.0135, allocations: 279.9 kB / 280 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.01563, allocations: 1.249 MB / 281.3 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.01612, allocations: 231.2 kB / 281.5 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/0.01653, allocations: 179.5 kB / 281.7 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.01656, allocations: 4 kB / 281.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.0166, allocations: 41.39 kB / 281.7 MB, free: 8.023 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.644e-06/0.0166, allocations: 4 kB / 281.7 MB, free: 8.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001513/0.01811, allocations: 494 kB / 282.2 MB, free: 7.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/0.01829, allocations: 235.3 kB / 282.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.01855, allocations: 253.8 kB / 282.7 MB, free: 6.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.01858, allocations: 33.7 kB / 282.7 MB, free: 6.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.01878, allocations: 259.3 kB / 282.9 MB, free: 6.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.01889, allocations: 115.1 kB / 283.1 MB, free: 6.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.01901, allocations: 71.36 kB / 283.1 MB, free: 6.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002883/0.0193, allocations: 0.5157 MB / 283.6 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.01947, allocations: 71.97 kB / 283.7 MB, free: 5.891 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005579/0.02002, allocations: 372.5 kB / 284.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.02042, allocations: 237.1 kB / 284.3 MB, free: 5.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.02042, allocations: 0 / 284.3 MB, free: 5.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005264/0.02095, allocations: 277.3 kB / 284.6 MB, free: 4.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.02096, allocations: 8 kB / 284.6 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.02097, allocations: 0 / 284.6 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.02099, allocations: 3.938 kB / 284.6 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.02134, allocations: 79.89 kB / 284.7 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.02135, allocations: 4.062 kB / 284.7 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.02152, allocations: 39.77 kB / 284.7 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.02154, allocations: 4 kB / 284.7 MB, free: 4.785 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.0002259/0.02177, allocations: 204.5 kB / 284.9 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.02184, allocations: 35.8 kB / 285 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.409e-05/0.02192, allocations: 34.62 kB / 285 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.02193, allocations: 7.938 kB / 285 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.02193, allocations: 0 / 285 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.02194, allocations: 0 / 285 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.02316, allocations: 0.7523 MB / 285.7 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.02316, allocations: 0 / 285.7 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.02342, allocations: 47.97 kB / 285.8 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.02385, allocations: 99.62 kB / 285.9 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.02387, allocations: 12.03 kB / 285.9 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/0.02658, allocations: 2.373 MB / 288.3 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.02658, allocations: 7.938 kB / 288.3 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009164/0.0275, allocations: 0.5628 MB / 288.8 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.02755, allocations: 23.91 kB / 288.9 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.02759, allocations: 15.94 kB / 288.9 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.02775, allocations: 15.98 kB / 288.9 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.02782, allocations: 23.95 kB / 288.9 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.02784, allocations: 8 kB / 288.9 MB, free: 360 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.028, allocations: 172.2 kB / 289.1 MB, free: 188 kB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.028, allocations: 4 kB / 289.1 MB, free: 184 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004164/0.02842, allocations: 111.7 kB / 289.2 MB, free: 72 kB / 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.0001802/0.0286, allocations: 107.2 kB / 289.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004558/0.02905, allocations: 215.5 kB / 289.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02905, allocations: 0 / 289.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005703/0.02962, allocations: 340.6 kB / 289.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.03001, allocations: 40.11 kB / 289.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.03135, allocations: 0.7484 MB / 290.6 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.03156, allocations: 184.8 kB / 290.8 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.576e-05/0.03165, allocations: 25.88 kB / 290.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.03171, allocations: 24.5 kB / 290.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03171, allocations: 0 / 290.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of Templates: time 0.008074/0.03978, allocations: 3.132 MB / 294 MB, free: 11.21 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","/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.511649705003947]