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.001341/0.001341, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001415/0.001415, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 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.424/1.424, allocations: 225.7 MB / 253.3 MB, free: 12.85 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.001609/0.001609, allocations: 55.89 kB / 371.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2718, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004262/0.2761, allocations: 2.594 MB / 426.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2774, allocations: 0.6777 MB / 427.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.2775, allocations: 8 kB / 427.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.2777, allocations: 67.41 kB / 427.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.2779, allocations: 95.06 kB / 427.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.2783, allocations: 123.8 kB / 427.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.2788, allocations: 454.8 kB / 427.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.2791, allocations: 165.2 kB / 428 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.2793, allocations: 175.5 kB / 428.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.2796, allocations: 179.1 kB / 428.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.393e-05/0.2797, allocations: 48 kB / 428.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.993e-05/0.2797, allocations: 48 kB / 428.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.2798, allocations: 95.69 kB / 428.5 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.28, allocations: 179.2 kB / 428.7 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005738/0.2806, allocations: 0.5008 MB / 429.2 MB, free: 9.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2806, allocations: 0 / 429.2 MB, free: 9.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2806, allocations: 0 / 429.2 MB, free: 9.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2806, allocations: 0 / 429.2 MB, free: 9.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.001118/0.2817, allocations: 0.6254 MB / 429.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2818, allocations: 8.031 kB / 429.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.853e-05/0.2818, allocations: 48.66 kB / 429.9 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.2822, allocations: 222.6 kB / 430.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.2822, allocations: 33.38 kB / 430.1 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.2823, allocations: 40.38 kB / 430.2 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008657/0.2832, allocations: 0.6245 MB / 430.8 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.2832, allocations: 0 / 430.8 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.2832, allocations: 20 kB / 430.8 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.2833, allocations: 12 kB / 430.8 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005462/0.2838, allocations: 279.9 kB / 431.1 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.2857, allocations: 1.092 MB / 432.2 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.2862, allocations: 219.8 kB / 432.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.2866, allocations: 180.6 kB / 432.6 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.2866, allocations: 4.5 kB / 432.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.2867, allocations: 42.5 kB / 432.6 MB, free: 5.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/0.2867, allocations: 0 / 432.6 MB, free: 5.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001423/0.2881, allocations: 473.9 kB / 433.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.2882, allocations: 243.2 kB / 433.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.2884, allocations: 174.8 kB / 433.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.2885, allocations: 29.7 kB / 433.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.2886, allocations: 204.6 kB / 433.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.2887, allocations: 111.1 kB / 433.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.2888, allocations: 65.69 kB / 433.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.289, allocations: 330.8 kB / 434.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.2892, allocations: 83.7 kB / 434.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.2895, allocations: 333.1 kB / 434.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.2899, allocations: 196.2 kB / 434.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2899, allocations: 0 / 434.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004954/0.2904, allocations: 277.2 kB / 435.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.2904, allocations: 7.938 kB / 435.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2904, allocations: 4 kB / 435.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2904, allocations: 0 / 435.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.2908, allocations: 87.83 kB / 435.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2908, allocations: 0 / 435.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.291, allocations: 31.78 kB / 435.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.291, allocations: 11.98 kB / 435.2 MB, free: 2.648 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.0001811/0.2912, allocations: 153.8 kB / 435.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.2912, allocations: 27.84 kB / 435.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.368e-05/0.2913, allocations: 26.66 kB / 435.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2913, allocations: 7.984 kB / 435.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.2913, allocations: 4 kB / 435.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2913, allocations: 3.984 kB / 435.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.2924, allocations: 0.6459 MB / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2924, allocations: 0 / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.2927, allocations: 51.91 kB / 436.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003279/0.293, allocations: 88.83 kB / 436.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.293, allocations: 8 kB / 436.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/0.2952, allocations: 1.828 MB / 438.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2952, allocations: 0 / 438.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.2961, allocations: 0.5032 MB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.2961, allocations: 23.86 kB / 438.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.2961, allocations: 11.98 kB / 438.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.2963, allocations: 12 kB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.2964, allocations: 27.89 kB / 438.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.2964, allocations: 4 kB / 438.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.2965, allocations: 136.8 kB / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2965, allocations: 0 / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004184/0.2969, allocations: 111.7 kB / 438.9 MB, free: 14.8 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.0001326/0.297, allocations: 105.2 kB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004355/0.2975, allocations: 199.7 kB / 439.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.2975, allocations: 4 kB / 439.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.2979, allocations: 262.4 kB / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.2984, allocations: 44.05 kB / 439.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.2998, allocations: 0.8754 MB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.3, allocations: 180.8 kB / 440.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.3001, allocations: 19.44 kB / 440.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3001, allocations: 0 / 440.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Templates: time 0.006926/0.307, allocations: 4.111 MB / 444.7 MB, free: 8.93 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/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: 7.3309419001452625]