Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001002/0.001002, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001074/0.001074, allocations: 162.4 kB / 25.7 MB, free: 8.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9594/0.9594, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 251.6 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.928e-05, allocations: 6.25 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002885/0.002904, allocations: 2.748 MB / 254.3 MB, free: 4.48 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.004128, allocations: 0.7679 MB / 255.1 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.004235, allocations: 8 kB / 255.1 MB, free: 3.695 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.603e-05/0.004331, allocations: 59.36 kB / 255.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.004496, allocations: 99 kB / 255.2 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.004817, allocations: 123.8 kB / 255.4 MB, free: 3.418 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.005166, allocations: 458.6 kB / 255.8 MB, free: 2.969 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.005382, allocations: 163.2 kB / 256 MB, free: 2.797 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.005642, allocations: 271.5 kB / 256.2 MB, free: 2.531 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.005799, allocations: 139.6 kB / 256.4 MB, free: 2.395 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.005847, allocations: 51.94 kB / 256.4 MB, free: 2.344 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.93e-05/0.005886, allocations: 44 kB / 256.5 MB, free: 2.301 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.005942, allocations: 99.7 kB / 256.6 MB, free: 2.203 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.344e-05/0.006035, allocations: 151.7 kB / 256.7 MB, free: 2.055 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.006295, allocations: 322.8 kB / 257 MB, free: 1.738 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.006297, allocations: 4 kB / 257 MB, free: 1.734 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006298, allocations: 0 / 257 MB, free: 1.734 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.006302, allocations: 0 / 257 MB, free: 1.734 MB / 234.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.0005893/0.006892, allocations: 0.5937 MB / 257.6 MB, free: 1.117 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.006923, allocations: 15.98 kB / 257.6 MB, free: 1.102 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.00699, allocations: 60.89 kB / 257.7 MB, free: 1.043 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.007173, allocations: 185.8 kB / 257.9 MB, free: 0.832 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.007193, allocations: 33.38 kB / 257.9 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.007239, allocations: 44.38 kB / 258 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.007605, allocations: 0.5316 MB / 258.5 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.007619, allocations: 192 / 258.5 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.007639, allocations: 20.38 kB / 258.5 MB, free: 136 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.00765, allocations: 15.94 kB / 258.5 MB, free: 120 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.007792, allocations: 114.9 kB / 258.6 MB, free: 0 / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009093/0.008701, allocations: 0.9036 MB / 259.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.008899, allocations: 146.7 kB / 259.7 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.00904, allocations: 124.7 kB / 259.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.009057, allocations: 7.938 kB / 259.8 MB, free: 14.76 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.009079, allocations: 38.56 kB / 259.8 MB, free: 14.71 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.292e-06/0.00908, allocations: 0 / 259.8 MB, free: 14.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005748/0.009655, allocations: 322.6 kB / 260.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.009727, allocations: 239.3 kB / 260.4 MB, free: 14.1 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.009826, allocations: 170.5 kB / 260.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.009842, allocations: 33.7 kB / 260.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.009923, allocations: 208.5 kB / 260.8 MB, free: 13.67 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.00997, allocations: 107.1 kB / 260.9 MB, free: 13.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.01003, allocations: 61.67 kB / 261 MB, free: 13.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.002e-05/0.01011, allocations: 334.8 kB / 261.3 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.01014, allocations: 27.98 kB / 261.3 MB, free: 13.14 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.01026, allocations: 284.7 kB / 261.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.01042, allocations: 173 kB / 261.8 MB, free: 12.61 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.01043, allocations: 0 / 261.8 MB, free: 12.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001554/0.01058, allocations: 161.3 kB / 261.9 MB, free: 12.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.01059, allocations: 4 kB / 261.9 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.0106, allocations: 0 / 261.9 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.01061, allocations: 4 kB / 261.9 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.01086, allocations: 107.8 kB / 262 MB, free: 12.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.01086, allocations: 4 kB / 262 MB, free: 12.33 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.884e-05/0.01093, allocations: 23.84 kB / 262.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.01094, allocations: 8 kB / 262.1 MB, free: 12.3 MB / 250.7 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real C1.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real 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.0001074/0.01105, allocations: 133.8 kB / 262.2 MB, free: 12.16 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.01108, allocations: 27.92 kB / 262.2 MB, free: 12.13 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.01111, allocations: 34.64 kB / 262.3 MB, free: 12.1 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.01112, allocations: 4 kB / 262.3 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.01113, allocations: 0 / 262.3 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01113, allocations: 0 / 262.3 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.01156, allocations: 469.9 kB / 262.7 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01156, allocations: 7.969 kB / 262.7 MB, free: 11.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.01172, allocations: 59.94 kB / 262.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000194/0.01191, allocations: 80.8 kB / 262.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.01192, allocations: 4 kB / 262.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008921/0.01282, allocations: 1.495 MB / 264.4 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.01282, allocations: 0 / 264.4 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.0131, allocations: 334.5 kB / 264.7 MB, free: 9.523 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.01312, allocations: 31.72 kB / 264.7 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.01314, allocations: 8 kB / 264.7 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.0132, allocations: 8 kB / 264.7 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.01325, allocations: 27.89 kB / 264.8 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.01326, allocations: 8 kB / 264.8 MB, free: 9.441 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.106e-05/0.01329, allocations: 45.86 kB / 264.8 MB, free: 9.395 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01329, allocations: 0 / 264.8 MB, free: 9.395 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.01349, allocations: 111.7 kB / 264.9 MB, free: 9.285 MB / 250.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 7.866e-05/0.01357, allocations: 88.34 kB / 265 MB, free: 9.191 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.01373, allocations: 128.7 kB / 265.1 MB, free: 9.062 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.01373, allocations: 0 / 265.1 MB, free: 9.062 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.01394, allocations: 244.5 kB / 265.4 MB, free: 8.809 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.01409, allocations: 31.88 kB / 265.4 MB, free: 8.777 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.0147, allocations: 0.6303 MB / 266 MB, free: 8.113 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.943e-05/0.01476, allocations: 100.3 kB / 266.1 MB, free: 7.996 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.716e-05/0.01482, allocations: 21.94 kB / 266.2 MB, free: 7.973 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.01493, allocations: 103.3 kB / 266.3 MB, free: 7.871 MB / 250.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01493, allocations: 4 kB / 266.3 MB, free: 7.867 MB / 250.7 MB Notification: Performance of Templates: time 0.00502/0.01995, allocations: 3.331 MB / 269.6 MB, free: 4.551 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.666678179986775]