Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 250.8 MB, free: 13.42 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2377, allocations: 52.14 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003935/0.2416, allocations: 2.862 MB / 423.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2429, allocations: 0.7244 MB / 424.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.243, allocations: 4 kB / 424.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.2431, allocations: 67.36 kB / 424.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.2433, allocations: 91.12 kB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.2437, allocations: 123.8 kB / 424.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.2441, allocations: 450.8 kB / 425.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.2444, allocations: 164.9 kB / 425.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.2446, allocations: 179.5 kB / 425.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.2449, allocations: 203.1 kB / 425.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.04e-05/0.245, allocations: 48 kB / 425.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.565e-05/0.245, allocations: 44 kB / 425.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.2451, allocations: 107.7 kB / 425.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.2453, allocations: 211.1 kB / 426.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.2458, allocations: 0.4993 MB / 426.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2458, allocations: 0 / 426.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2458, allocations: 4 kB / 426.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.2458, allocations: 0 / 426.6 MB, free: 9.355 MB / 334.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.001151/0.247, allocations: 0.6938 MB / 427.3 MB, free: 8.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.247, allocations: 15.89 kB / 427.3 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.341e-05/0.2471, allocations: 56.53 kB / 427.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.2474, allocations: 285.8 kB / 427.6 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.2475, allocations: 29.38 kB / 427.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.629e-05/0.2475, allocations: 44.38 kB / 427.7 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007402/0.2483, allocations: 455.6 kB / 428.2 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.2483, allocations: 4 kB / 428.2 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.2483, allocations: 16 kB / 428.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.2483, allocations: 8 kB / 428.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/0.2489, allocations: 283.9 kB / 428.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.2508, allocations: 1.303 MB / 429.8 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.2513, allocations: 218.7 kB / 430 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.2516, allocations: 176.8 kB / 430.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.2517, allocations: 0.5 kB / 430.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.2517, allocations: 42.5 kB / 430.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.2517, allocations: 4 kB / 430.2 MB, free: 5.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001402/0.2531, allocations: 0.542 MB / 430.7 MB, free: 4.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.2532, allocations: 247.2 kB / 431 MB, free: 4.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.2534, allocations: 207 kB / 431.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.2535, allocations: 29.7 kB / 431.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.2536, allocations: 204.6 kB / 431.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.884e-05/0.2537, allocations: 103.1 kB / 431.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.2538, allocations: 69.62 kB / 431.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2539, allocations: 330.8 kB / 431.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.2541, allocations: 79.95 kB / 432 MB, free: 3.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.2543, allocations: 157.3 kB / 432.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.2547, allocations: 199.4 kB / 432.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2547, allocations: 4 kB / 432.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004645/0.2552, allocations: 280.9 kB / 432.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2552, allocations: 4 kB / 432.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2552, allocations: 0 / 432.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2552, allocations: 4 kB / 432.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.2555, allocations: 79.89 kB / 432.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2555, allocations: 8.062 kB / 432.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.2557, allocations: 31.78 kB / 432.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.2557, allocations: 15.98 kB / 432.8 MB, free: 2.809 MB / 334.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.0001473/0.2559, allocations: 149.7 kB / 432.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.2559, allocations: 31.8 kB / 432.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.256, allocations: 30.66 kB / 433 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.256, allocations: 0 / 433 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.256, allocations: 7.938 kB / 433 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.256, allocations: 7.984 kB / 433 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.2571, allocations: 0.7672 MB / 433.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2571, allocations: 4 kB / 433.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.2573, allocations: 51.89 kB / 433.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003096/0.2577, allocations: 88.75 kB / 433.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.2577, allocations: 12.03 kB / 433.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.2598, allocations: 1.973 MB / 435.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2598, allocations: 0 / 435.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/0.2605, allocations: 0.4984 MB / 436.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.2606, allocations: 100.9 kB / 436.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.2606, allocations: 4.062 kB / 436.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.2608, allocations: 15.98 kB / 436.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.2609, allocations: 23.97 kB / 436.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.2609, allocations: 4 kB / 436.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.261, allocations: 152.5 kB / 436.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.261, allocations: 0 / 436.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.2614, allocations: 111.7 kB / 436.8 MB, free: 14.54 MB / 350.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.0001279/0.2615, allocations: 114.2 kB / 436.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000445/0.262, allocations: 195.8 kB / 437.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.262, allocations: 0 / 437.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.2624, allocations: 262.6 kB / 437.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.2628, allocations: 44.05 kB / 437.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.2641, allocations: 0.8639 MB / 438.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.2645, allocations: 0.787 MB / 439 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.725e-05/0.2646, allocations: 21.95 kB / 439 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.2647, allocations: 23.44 kB / 439.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2647, allocations: 0 / 439.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of Templates: time 0.007268/0.272, allocations: 3.271 MB / 442.3 MB, free: 8.895 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.5084578189998865]