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.0007367/0.0007367, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.001781, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006306/0.0006306, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009048/0.001535, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.844/0.844, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1428/0.9868, allocations: 52.49 MB / 238.5 MB, free: 7.637 MB / 234.7 MB " [Timeout remaining time 179] 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.303e-06/1.303e-06, allocations: 0 / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.697e-05, allocations: 3.531 kB / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.006211/0.006228, allocations: 2.802 MB / 242.5 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.007309, allocations: 0.7449 MB / 243.3 MB, free: 2.832 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.007412, allocations: 8 kB / 243.3 MB, free: 2.824 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.007523, allocations: 63.36 kB / 243.4 MB, free: 2.762 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.007691, allocations: 96.47 kB / 243.4 MB, free: 2.668 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.007933, allocations: 124.6 kB / 243.6 MB, free: 2.547 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.008301, allocations: 463.7 kB / 244 MB, free: 2.09 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003296/0.0116, allocations: 163.3 kB / 244.2 MB, free: 1.926 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.01193, allocations: 303.3 kB / 244.5 MB, free: 1.629 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.01212, allocations: 154.7 kB / 244.6 MB, free: 1.48 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.86e-05/0.01218, allocations: 48 kB / 244.7 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.733e-05/0.01223, allocations: 44 kB / 244.7 MB, free: 1.391 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.0123, allocations: 75.75 kB / 244.8 MB, free: 1.316 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.01241, allocations: 123.8 kB / 244.9 MB, free: 1.195 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.01271, allocations: 283 kB / 245.2 MB, free: 0.918 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.01272, allocations: 0 / 245.2 MB, free: 0.918 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01272, allocations: 3.938 kB / 245.2 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.01273, allocations: 1.281 kB / 245.2 MB, free: 0.9141 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.000785/0.01352, allocations: 0.6949 MB / 245.9 MB, free: 200 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.01355, allocations: 8.031 kB / 245.9 MB, free: 192 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.251e-05/0.01363, allocations: 64.89 kB / 246 MB, free: 128 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.01386, allocations: 177.9 kB / 246.1 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.01389, allocations: 33.38 kB / 246.2 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.01395, allocations: 52.27 kB / 246.2 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/0.01738, allocations: 0.5238 MB / 246.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.0174, allocations: 5.156 kB / 246.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.01743, allocations: 24.36 kB / 246.8 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.01744, allocations: 16.84 kB / 246.8 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.01762, allocations: 114.9 kB / 246.9 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.01889, allocations: 0.9125 MB / 247.8 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.01912, allocations: 147.2 kB / 248 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.01929, allocations: 122.2 kB / 248.1 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.01931, allocations: 4.625 kB / 248.1 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.01934, allocations: 38.56 kB / 248.1 MB, free: 13.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.362e-06/0.01934, allocations: 0.5938 kB / 248.1 MB, free: 13.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007056/0.02004, allocations: 331.7 kB / 248.4 MB, free: 13.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.02007, allocations: 55.41 kB / 248.5 MB, free: 13.4 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.02018, allocations: 171 kB / 248.7 MB, free: 13.22 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.0202, allocations: 33.7 kB / 248.7 MB, free: 13.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.02029, allocations: 204.5 kB / 248.9 MB, free: 12.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003066/0.02335, allocations: 111 kB / 249 MB, free: 12.87 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.02343, allocations: 61.64 kB / 249.1 MB, free: 12.8 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.02351, allocations: 334.8 kB / 249.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/0.02356, allocations: 27.98 kB / 249.4 MB, free: 12.44 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.0237, allocations: 300.1 kB / 249.7 MB, free: 12.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.02384, allocations: 111.7 kB / 249.8 MB, free: 11.95 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02385, allocations: 0 / 249.8 MB, free: 11.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002085/0.02405, allocations: 157.3 kB / 250 MB, free: 11.79 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.02407, allocations: 12 kB / 250 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.02408, allocations: 3.938 kB / 250 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.02409, allocations: 4 kB / 250 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.02442, allocations: 111.8 kB / 250.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.02443, allocations: 4 kB / 250.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.173e-05/0.02452, allocations: 19.89 kB / 250.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.02454, allocations: 11.98 kB / 250.1 MB, free: 11.63 MB / 250.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 9.133e-05/0.02463, allocations: 133.8 kB / 250.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.02467, allocations: 27.92 kB / 250.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.02471, allocations: 34.64 kB / 250.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.02472, allocations: 4 kB / 250.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.02473, allocations: 0 / 250.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.02473, allocations: 4 kB / 250.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.02527, allocations: 444.8 kB / 250.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.02527, allocations: 0 / 250.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.02548, allocations: 66 kB / 250.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.0255, allocations: 23.88 kB / 250.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002425/0.02574, allocations: 88.67 kB / 250.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.02576, allocations: 0 / 250.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00409/0.02985, allocations: 1.495 MB / 252.4 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02985, allocations: 0 / 252.4 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.03019, allocations: 341.4 kB / 252.8 MB, free: 8.844 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.03022, allocations: 11.98 kB / 252.8 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.03032, allocations: 12.03 kB / 252.8 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.03037, allocations: 23.95 kB / 252.8 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.03038, allocations: 8 kB / 252.8 MB, free: 8.789 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.382e-05/0.03042, allocations: 49.84 kB / 252.9 MB, free: 8.738 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03042, allocations: 0 / 252.9 MB, free: 8.738 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002986/0.03072, allocations: 115.7 kB / 253 MB, free: 8.625 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 0.000106/0.03083, allocations: 88.28 kB / 253.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.03101, allocations: 133.9 kB / 253.2 MB, free: 8.398 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/0.03102, allocations: 4 kB / 253.2 MB, free: 8.395 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.03128, allocations: 250.8 kB / 253.5 MB, free: 8.137 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.03164, allocations: 388.3 kB / 253.8 MB, free: 7.684 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004562/0.0362, allocations: 0.6595 MB / 254.5 MB, free: 6.988 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.079e-05/0.03627, allocations: 104.2 kB / 254.6 MB, free: 6.867 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.038e-05/0.03635, allocations: 25.94 kB / 254.6 MB, free: 6.844 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.03662, allocations: 115.3 kB / 254.7 MB, free: 6.73 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.03662, allocations: 0 / 254.7 MB, free: 6.73 MB / 250.7 MB Notification: Performance of Templates: time 0.01284/0.04947, allocations: 3.902 MB / 258.6 MB, free: 2.906 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4143062541261315]