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.001355/0.001355, allocations: 88.44 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001443/0.001443, allocations: 162.1 kB / 23.96 MB, free: 4.141 MB / 14.72 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.447/1.447, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 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.453e-06/1.453e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.369e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003967/0.003991, allocations: 2.587 MB / 327.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.005887, allocations: 0.7442 MB / 328.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003021/0.006189, allocations: 6.844 kB / 328.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.006392, allocations: 62.28 kB / 328.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003992/0.006791, allocations: 98.66 kB / 328.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/0.007308, allocations: 135.4 kB / 328.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006341/0.007942, allocations: 460.8 kB / 329.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.008263, allocations: 154.2 kB / 329.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006059/0.008869, allocations: 287 kB / 329.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.009201, allocations: 144.9 kB / 329.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.1e-05/0.009282, allocations: 45.84 kB / 329.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.009415, allocations: 51.05 kB / 329.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.009523, allocations: 100.3 kB / 329.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.009768, allocations: 155.5 kB / 330 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007315/0.0105, allocations: 0.5281 MB / 330.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.0105, allocations: 0 / 330.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0105, allocations: 4 kB / 330.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.01052, allocations: 0 / 330.5 MB, free: 13.07 MB / 302.1 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.001214/0.01173, allocations: 0.6142 MB / 331.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.01177, allocations: 13.33 kB / 331.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.01203, allocations: 62.7 kB / 331.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.01236, allocations: 218.6 kB / 331.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.0124, allocations: 33.84 kB / 331.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.01247, allocations: 48.58 kB / 331.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/0.01335, allocations: 0.6164 MB / 332.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.01337, allocations: 9.203 kB / 332.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.01341, allocations: 16.25 kB / 332.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.01343, allocations: 14.22 kB / 332.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005681/0.01399, allocations: 277.2 kB / 332.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.01588, allocations: 1.09 MB / 333.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.01635, allocations: 212.5 kB / 333.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004136/0.01677, allocations: 172.4 kB / 333.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.01679, allocations: 6.938 kB / 333.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.01683, allocations: 41.33 kB / 333.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.01683, allocations: 0 / 333.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001482/0.01832, allocations: 477.4 kB / 334.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/0.01847, allocations: 240.5 kB / 334.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.01866, allocations: 174.6 kB / 334.8 MB, free: 9.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.0187, allocations: 36.11 kB / 334.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.01886, allocations: 212.8 kB / 335.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.029e-05/0.01895, allocations: 102.9 kB / 335.2 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.01905, allocations: 61.7 kB / 335.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.01922, allocations: 331.9 kB / 335.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.0194, allocations: 79.75 kB / 335.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.01974, allocations: 338.4 kB / 336 MB, free: 8.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.02012, allocations: 209.1 kB / 336.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.02013, allocations: 0 / 336.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005132/0.02064, allocations: 269.8 kB / 336.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.02066, allocations: 4.906 kB / 336.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.02066, allocations: 5.203 kB / 336.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.02068, allocations: 6.688 kB / 336.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.02102, allocations: 74.09 kB / 336.5 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.02103, allocations: 9.234 kB / 336.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.02122, allocations: 32.44 kB / 336.6 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.02124, allocations: 7.969 kB / 336.6 MB, free: 8.441 MB / 302.1 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.0001826/0.02143, allocations: 150.8 kB / 336.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.02148, allocations: 22.8 kB / 336.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.233e-05/0.02156, allocations: 35.17 kB / 336.8 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.02156, allocations: 6.25 kB / 336.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.02157, allocations: 2.438 kB / 336.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.02158, allocations: 0 / 336.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.02268, allocations: 0.6576 MB / 337.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02268, allocations: 1.156 kB / 337.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.02295, allocations: 58.66 kB / 337.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003464/0.0233, allocations: 87.47 kB / 337.6 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.02332, allocations: 10.7 kB / 337.6 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/0.02558, allocations: 1.826 MB / 339.4 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.02559, allocations: 11.92 kB / 339.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/0.02646, allocations: 0.4895 MB / 339.9 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.0265, allocations: 27.73 kB / 339.9 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.02654, allocations: 12 kB / 340 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.02671, allocations: 12.06 kB / 340 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.02679, allocations: 27.94 kB / 340 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.0268, allocations: 12 kB / 340 MB, free: 5.488 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.02693, allocations: 136.3 kB / 340.1 MB, free: 5.355 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02693, allocations: 0 / 340.1 MB, free: 5.355 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000432/0.02737, allocations: 103.7 kB / 340.2 MB, free: 5.254 MB / 302.1 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.0001372/0.0275, allocations: 103.2 kB / 340.3 MB, free: 5.141 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004503/0.02795, allocations: 207.7 kB / 340.5 MB, free: 4.938 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02796, allocations: 0 / 340.5 MB, free: 4.938 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.02844, allocations: 262.4 kB / 340.8 MB, free: 4.668 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.02886, allocations: 27.98 kB / 340.8 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.03016, allocations: 0.7423 MB / 341.6 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.03036, allocations: 180.6 kB / 341.7 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.793e-05/0.03044, allocations: 21.94 kB / 341.8 MB, free: 3.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.03051, allocations: 24.5 kB / 341.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.03051, allocations: 0 / 341.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of Templates: time 0.007944/0.03845, allocations: 3.078 MB / 344.9 MB, free: 0.5742 MB / 302.1 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.33606319129467]