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.002027/0.002027, allocations: 84.66 kB / 20.96 MB, free: 3.445 MB / 18.57 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.002263/0.002263, allocations: 149.1 kB / 24.26 MB, free: 152 kB / 18.57 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.446/1.446, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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 1.522e-06/1.522e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.663e-05/3.815e-05, allocations: 14.25 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004171/0.00421, allocations: 2.574 MB / 269.9 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.005711, allocations: 0.7047 MB / 270.6 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.005901, allocations: 8 kB / 270.6 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.006096, allocations: 67.36 kB / 270.7 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.006443, allocations: 103 kB / 270.8 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.006895, allocations: 123.7 kB / 270.9 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000687/0.007582, allocations: 466.6 kB / 271.3 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.00793, allocations: 149.4 kB / 271.5 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005241/0.008454, allocations: 283.4 kB / 271.8 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.008755, allocations: 147.5 kB / 271.9 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.8e-05/0.008843, allocations: 48 kB / 272 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.65e-05/0.00893, allocations: 44 kB / 272 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.009041, allocations: 99.72 kB / 272.1 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.009262, allocations: 151.6 kB / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006954/0.009957, allocations: 0.5139 MB / 272.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.009962, allocations: 0 / 272.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.009963, allocations: 0 / 272.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.009981, allocations: 4 kB / 272.8 MB, free: 1.238 MB / 250.7 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.00134/0.01132, allocations: 0.6146 MB / 273.4 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.01136, allocations: 8.031 kB / 273.4 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.01153, allocations: 80.66 kB / 273.5 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.01189, allocations: 217.9 kB / 273.7 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.01193, allocations: 29.38 kB / 273.7 MB, free: 240 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/0.01202, allocations: 52.38 kB / 273.8 MB, free: 188 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.01311, allocations: 0.6169 MB / 274.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.01313, allocations: 192 / 274.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.01318, allocations: 16.38 kB / 274.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.01319, allocations: 15.94 kB / 274.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.01382, allocations: 283.8 kB / 274.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.01605, allocations: 1.109 MB / 275.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.01655, allocations: 214.7 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.01696, allocations: 172.8 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.01699, allocations: 8 kB / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.01703, allocations: 34.56 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.01703, allocations: 0 / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001523/0.01855, allocations: 490.4 kB / 276.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.01872, allocations: 235.3 kB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.01892, allocations: 178.8 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.01896, allocations: 33.7 kB / 277.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.01913, allocations: 208.6 kB / 277.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.01924, allocations: 115 kB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.01935, allocations: 61.69 kB / 277.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.01955, allocations: 334.8 kB / 277.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.01972, allocations: 71.97 kB / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.02009, allocations: 344.5 kB / 278.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.02048, allocations: 203.2 kB / 278.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02048, allocations: 3.938 kB / 278.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005284/0.02101, allocations: 285.2 kB / 278.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.02103, allocations: 8 kB / 278.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.02103, allocations: 3.938 kB / 278.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.02106, allocations: 3.938 kB / 278.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.02141, allocations: 79.89 kB / 278.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.02142, allocations: 4 kB / 278.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.0216, allocations: 31.83 kB / 278.9 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.02162, allocations: 8 kB / 278.9 MB, free: 10.73 MB / 266.7 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.0003876/0.02201, allocations: 153.8 kB / 279 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.02208, allocations: 27.91 kB / 279 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.315e-05/0.02215, allocations: 30.64 kB / 279.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.02216, allocations: 11.92 kB / 279.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.02217, allocations: 0 / 279.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.02217, allocations: 0 / 279.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.02331, allocations: 0.6459 MB / 279.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.02331, allocations: 4 kB / 279.7 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.02358, allocations: 51.91 kB / 279.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004314/0.02401, allocations: 108.8 kB / 279.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.02404, allocations: 8 kB / 279.9 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002359/0.0264, allocations: 1.839 MB / 281.7 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.0264, allocations: 7.875 kB / 281.7 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009014/0.0273, allocations: 0.5022 MB / 282.2 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.02734, allocations: 19.8 kB / 282.3 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.02738, allocations: 16.06 kB / 282.3 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.02755, allocations: 15.98 kB / 282.3 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.02762, allocations: 23.95 kB / 282.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.02764, allocations: 8 kB / 282.3 MB, free: 7.082 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.02777, allocations: 136.3 kB / 282.5 MB, free: 6.949 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02777, allocations: 0 / 282.5 MB, free: 6.949 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004114/0.02818, allocations: 107.7 kB / 282.6 MB, free: 6.844 MB / 266.7 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.000141/0.02832, allocations: 99.19 kB / 282.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000434/0.02875, allocations: 199.8 kB / 282.9 MB, free: 6.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.02876, allocations: 4 kB / 282.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004825/0.02924, allocations: 261.9 kB / 283.1 MB, free: 6.273 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.02965, allocations: 31.98 kB / 283.1 MB, free: 6.242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.03097, allocations: 0.7643 MB / 283.9 MB, free: 5.441 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.03118, allocations: 180.8 kB / 284.1 MB, free: 5.246 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.593e-05/0.03128, allocations: 21.94 kB / 284.1 MB, free: 5.223 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.03134, allocations: 28.48 kB / 284.1 MB, free: 5.195 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.03134, allocations: 0 / 284.1 MB, free: 5.195 MB / 266.7 MB Notification: Performance of Templates: time 0.008095/0.03944, allocations: 3.093 MB / 287.2 MB, free: 2.137 MB / 266.7 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.396789395017549]