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.001923/0.001923, allocations: 116 kB / 20.43 MB, free: 1.449 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.002504/0.002504, allocations: 214.8 kB / 23.74 MB, free: 4.66 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001762/0.001762, allocations: 43.94 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2314, allocations: 53.36 MB / 431.6 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004165/0.2356, allocations: 2.868 MB / 434.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.2369, allocations: 0.7711 MB / 435.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.237, allocations: 8 kB / 435.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.2372, allocations: 67.36 kB / 435.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.2374, allocations: 91.06 kB / 435.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.2378, allocations: 127.8 kB / 435.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005129/0.2383, allocations: 454.9 kB / 436 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.2386, allocations: 161.4 kB / 436.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.2388, allocations: 191.4 kB / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.2391, allocations: 207.1 kB / 436.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.291e-05/0.2392, allocations: 44 kB / 436.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.2393, allocations: 52 kB / 436.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.2394, allocations: 99.69 kB / 436.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.2396, allocations: 223 kB / 436.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000558/0.2401, allocations: 0.4993 MB / 437.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2401, allocations: 0 / 437.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2401, allocations: 4 kB / 437.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.2402, allocations: 0 / 437.4 MB, free: 1.035 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.001127/0.2413, allocations: 0.6224 MB / 438.1 MB, free: 392 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2413, allocations: 8.031 kB / 438.1 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.2416, allocations: 60.64 kB / 438.1 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.2419, allocations: 218.6 kB / 438.4 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.2419, allocations: 33.38 kB / 438.4 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.083e-05/0.242, allocations: 44.38 kB / 438.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/0.2427, allocations: 451.5 kB / 438.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.2427, allocations: 7.969 kB / 438.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.2428, allocations: 20 kB / 438.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.2428, allocations: 12 kB / 438.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.2433, allocations: 279.9 kB / 439.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.2454, allocations: 1.263 MB / 440.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.2458, allocations: 227.4 kB / 440.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/0.2462, allocations: 168.7 kB / 440.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.2462, allocations: 8 kB / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.2463, allocations: 38.56 kB / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.2463, allocations: 0 / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001438/0.2477, allocations: 490.3 kB / 441.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.2478, allocations: 235.3 kB / 441.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.2481, allocations: 206.8 kB / 441.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.2481, allocations: 33.7 kB / 441.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.2482, allocations: 204.6 kB / 442 MB, free: 12.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.564e-05/0.2483, allocations: 115 kB / 442.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.77e-05/0.2484, allocations: 65.69 kB / 442.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2486, allocations: 330.8 kB / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.2488, allocations: 75.97 kB / 442.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.249, allocations: 161.5 kB / 442.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.2494, allocations: 200.2 kB / 442.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2494, allocations: 0 / 442.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004883/0.2499, allocations: 273.1 kB / 443.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2499, allocations: 10.81 kB / 443.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2499, allocations: 4.062 kB / 443.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2499, allocations: 4 kB / 443.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.2503, allocations: 79.89 kB / 443.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2503, allocations: 4 kB / 443.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.2504, allocations: 31.78 kB / 443.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.2505, allocations: 19.94 kB / 443.4 MB, free: 10.79 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.0001654/0.2506, allocations: 149.7 kB / 443.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.2507, allocations: 31.8 kB / 443.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.294e-05/0.2508, allocations: 34.64 kB / 443.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.2508, allocations: 4 kB / 443.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.2508, allocations: 4 kB / 443.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2508, allocations: 0 / 443.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.2519, allocations: 0.7273 MB / 444.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2519, allocations: 0 / 444.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.2522, allocations: 55.91 kB / 444.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003451/0.2525, allocations: 92.83 kB / 444.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.2526, allocations: 4 kB / 444.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.2548, allocations: 1.87 MB / 446.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2548, allocations: 0 / 446.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008326/0.2556, allocations: 0.5021 MB / 446.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.2557, allocations: 23.8 kB / 446.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.2557, allocations: 16.16 kB / 446.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.2559, allocations: 11.94 kB / 446.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.2559, allocations: 19.95 kB / 446.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.256, allocations: 8 kB / 446.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.2561, allocations: 160.5 kB / 447.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2561, allocations: 0 / 447.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004116/0.2565, allocations: 103.8 kB / 447.2 MB, free: 6.777 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.0001312/0.2567, allocations: 107.1 kB / 447.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004307/0.2571, allocations: 199.8 kB / 447.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2571, allocations: 0 / 447.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.2575, allocations: 270.6 kB / 447.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2579, allocations: 32.17 kB / 447.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.2593, allocations: 0.855 MB / 448.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.2597, allocations: 0.7909 MB / 449.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.628e-05/0.2598, allocations: 17.95 kB / 449.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.2599, allocations: 23.42 kB / 449.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2599, allocations: 0 / 449.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of Templates: time 0.008179/0.2681, allocations: 3.34 MB / 452.8 MB, free: 1.078 MB / 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/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_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: 4.6026623921934515]