Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 112.5 kB / 21.19 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 213.7 kB / 24.49 MB, free: 4.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 47.92 kB / 379 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2283, allocations: 53.37 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003943/0.2323, allocations: 2.857 MB / 435.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.2336, allocations: 0.7711 MB / 436 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.2337, allocations: 8 kB / 436 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.2338, allocations: 67.36 kB / 436.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.234, allocations: 99.05 kB / 436.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.2344, allocations: 119.8 kB / 436.3 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.2349, allocations: 450.8 kB / 436.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.2352, allocations: 169.4 kB / 436.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.2355, allocations: 187.4 kB / 437.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.2358, allocations: 203.1 kB / 437.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.2359, allocations: 48 kB / 437.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.236, allocations: 55.98 kB / 437.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.236, allocations: 95.69 kB / 437.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.2362, allocations: 219 kB / 437.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.2368, allocations: 0.507 MB / 438.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2368, allocations: 3.938 kB / 438.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2368, allocations: 0 / 438.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.2368, allocations: 0 / 438.2 MB, free: 1.09 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.001097/0.2379, allocations: 0.6224 MB / 438.8 MB, free: 448 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.238, allocations: 8.031 kB / 438.8 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.2382, allocations: 60.64 kB / 438.9 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.2386, allocations: 218.6 kB / 439.1 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.2386, allocations: 33.38 kB / 439.1 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.2387, allocations: 44.33 kB / 439.2 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007286/0.2394, allocations: 455.6 kB / 439.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.2394, allocations: 4 kB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.2395, allocations: 16 kB / 439.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.2395, allocations: 8 kB / 439.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/0.24, allocations: 287.9 kB / 439.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.2419, allocations: 1.263 MB / 441.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.2423, allocations: 214.1 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.2427, allocations: 188.6 kB / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.2427, allocations: 4 kB / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.2428, allocations: 34.56 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.2428, allocations: 0 / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001339/0.2441, allocations: 486.3 kB / 442.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.2442, allocations: 243.3 kB / 442.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.2444, allocations: 210.8 kB / 442.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.2445, allocations: 29.7 kB / 442.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.2446, allocations: 204.6 kB / 442.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.074e-05/0.2447, allocations: 107.1 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.2448, allocations: 61.7 kB / 443 MB, free: 12.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2449, allocations: 334.8 kB / 443.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.2451, allocations: 79.95 kB / 443.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.2453, allocations: 153.5 kB / 443.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.2456, allocations: 208.2 kB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2457, allocations: 0 / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004601/0.2461, allocations: 277.1 kB / 444 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2461, allocations: 4 kB / 444 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2461, allocations: 0 / 444 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2462, allocations: 4 kB / 444 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.2465, allocations: 83.89 kB / 444.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2465, allocations: 3.938 kB / 444.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.2467, allocations: 35.86 kB / 444.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.2467, allocations: 16.02 kB / 444.1 MB, free: 10.85 MB / 350.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.0001588/0.2469, allocations: 157.7 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.2469, allocations: 31.78 kB / 444.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.479e-05/0.247, allocations: 30.66 kB / 444.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.247, allocations: 4 kB / 444.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.247, allocations: 0 / 444.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.247, allocations: 3.984 kB / 444.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.2481, allocations: 0.7312 MB / 445.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.2481, allocations: 3.938 kB / 445.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.2484, allocations: 47.97 kB / 445.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003323/0.2487, allocations: 88.8 kB / 445.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.2487, allocations: 8 kB / 445.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.2508, allocations: 1.88 MB / 447.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2508, allocations: 4.031 kB / 447.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007734/0.2516, allocations: 0.4943 MB / 447.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.2516, allocations: 31.8 kB / 447.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.2517, allocations: 8.062 kB / 447.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.2518, allocations: 11.98 kB / 447.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.2519, allocations: 23.95 kB / 447.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2519, allocations: 12 kB / 447.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.252, allocations: 152.5 kB / 447.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.252, allocations: 0 / 447.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003912/0.2524, allocations: 107.8 kB / 447.9 MB, free: 6.824 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.000122/0.2525, allocations: 103.2 kB / 448 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.253, allocations: 199.8 kB / 448.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.253, allocations: 0 / 448.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004347/0.2534, allocations: 266.4 kB / 448.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.2538, allocations: 36.3 kB / 448.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.2552, allocations: 0.88 MB / 449.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.2556, allocations: 0.7831 MB / 450.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.2556, allocations: 27.42 kB / 450.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2556, allocations: 0 / 450.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of Templates: time 0.006339/0.262, allocations: 4.079 MB / 454.3 MB, free: 376 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.923873047810048]