Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001587/0.001587, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002028/0.002028, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.567/1.567, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 63.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2751, allocations: 53.32 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004191/0.2793, allocations: 2.867 MB / 434.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.2807, allocations: 0.7673 MB / 435.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.2809, allocations: 12 kB / 435.7 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.281, allocations: 59.36 kB / 435.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.2812, allocations: 99.05 kB / 435.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.2816, allocations: 123.8 kB / 436 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004897/0.2821, allocations: 446.8 kB / 436.4 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.2824, allocations: 168.9 kB / 436.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.2828, allocations: 187.3 kB / 436.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.283, allocations: 195.2 kB / 436.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.491e-05/0.2831, allocations: 51.94 kB / 437 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.2832, allocations: 55.98 kB / 437 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.31e-05/0.2833, allocations: 95.75 kB / 437.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.2835, allocations: 219 kB / 437.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005801/0.2841, allocations: 0.5077 MB / 437.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2841, allocations: 0 / 437.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2841, allocations: 0 / 437.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.2841, allocations: 0 / 437.9 MB, free: 1.543 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.001173/0.2853, allocations: 0.6938 MB / 438.6 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2853, allocations: 8.031 kB / 438.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.2855, allocations: 68.64 kB / 438.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.2858, allocations: 280.5 kB / 438.9 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.2859, allocations: 29.38 kB / 438.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.2859, allocations: 52.31 kB / 439 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.2867, allocations: 455.6 kB / 439.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.2867, allocations: 0 / 439.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.2867, allocations: 16 kB / 439.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.2867, allocations: 12 kB / 439.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/0.2873, allocations: 283.8 kB / 439.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.2892, allocations: 1.307 MB / 441 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.2897, allocations: 218.7 kB / 441.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.2901, allocations: 173.3 kB / 441.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.2901, allocations: 0 / 441.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2901, allocations: 42.56 kB / 441.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.273e-06/0.2901, allocations: 0 / 441.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001442/0.2916, allocations: 0.5542 MB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.2917, allocations: 235.3 kB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.2919, allocations: 210.8 kB / 442.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.292, allocations: 29.7 kB / 442.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.2921, allocations: 208.6 kB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.809e-05/0.2922, allocations: 107.1 kB / 442.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.2924, allocations: 61.7 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.2926, allocations: 334.8 kB / 443.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.2927, allocations: 79.95 kB / 443.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.293, allocations: 156.9 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.2933, allocations: 208.8 kB / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2933, allocations: 0 / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004694/0.2938, allocations: 277.1 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2938, allocations: 4 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2938, allocations: 0 / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2938, allocations: 7.938 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.2942, allocations: 83.89 kB / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2942, allocations: 0 / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.2944, allocations: 39.8 kB / 444 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.2944, allocations: 8 kB / 444 MB, free: 10.98 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.0001589/0.2946, allocations: 149.8 kB / 444.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.2946, allocations: 31.78 kB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.678e-05/0.2947, allocations: 30.66 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2947, allocations: 4 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.2947, allocations: 0 / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2947, allocations: 7.922 kB / 444.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.2959, allocations: 0.7634 MB / 445 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2959, allocations: 0 / 445 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.2962, allocations: 51.91 kB / 445.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003202/0.2965, allocations: 88.8 kB / 445.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.2965, allocations: 8 kB / 445.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.2987, allocations: 1.977 MB / 447.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2987, allocations: 4 kB / 447.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007928/0.2995, allocations: 0.506 MB / 447.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.2995, allocations: 105 kB / 447.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.2996, allocations: 8.062 kB / 447.7 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.2997, allocations: 11.98 kB / 447.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.2998, allocations: 23.97 kB / 447.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.2998, allocations: 8 kB / 447.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.2999, allocations: 152.5 kB / 447.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2999, allocations: 0 / 447.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004042/0.3003, allocations: 107.7 kB / 448 MB, free: 6.703 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.0001398/0.3005, allocations: 107.2 kB / 448.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004185/0.3009, allocations: 200 kB / 448.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3009, allocations: 0 / 448.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.3013, allocations: 266.5 kB / 448.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.3017, allocations: 40.23 kB / 448.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.303, allocations: 0.8536 MB / 449.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.3035, allocations: 0.7831 MB / 450.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.8e-05/0.3036, allocations: 29.94 kB / 450.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.3036, allocations: 19.44 kB / 450.3 MB, free: 4.332 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3036, allocations: 0 / 450.3 MB, free: 4.332 MB / 350.1 MB Notification: Performance of Templates: time 0.007971/0.3116, allocations: 3.272 MB / 453.6 MB, free: 1.074 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.6560531379655]