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.001365/0.001365, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001823/0.003187, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001263/0.001263, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001765/0.003028, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9172/0.9172, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1914/1.109, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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 2.785e-06/2.785e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.395e-05, allocations: 2.312 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00276/0.002784, allocations: 2.741 MB / 224.7 MB, free: 13.3 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003943, allocations: 0.7796 MB / 225.5 MB, free: 12.51 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.004046, allocations: 4 kB / 225.5 MB, free: 12.5 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.004148, allocations: 63.36 kB / 225.6 MB, free: 12.44 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.004282, allocations: 95 kB / 225.7 MB, free: 12.35 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.004536, allocations: 123.8 kB / 225.8 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.004879, allocations: 450.7 kB / 226.2 MB, free: 11.79 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.005122, allocations: 163.3 kB / 226.4 MB, free: 11.62 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.005391, allocations: 291.5 kB / 226.7 MB, free: 11.34 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.00555, allocations: 143.6 kB / 226.8 MB, free: 11.2 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.005604, allocations: 44 kB / 226.9 MB, free: 11.15 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.546e-05/0.00565, allocations: 44 kB / 226.9 MB, free: 11.11 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.005705, allocations: 75.75 kB / 227 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.005798, allocations: 127.8 kB / 227.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.006076, allocations: 290.9 kB / 227.4 MB, free: 10.62 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.00609, allocations: 8 kB / 227.4 MB, free: 10.62 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006091, allocations: 0 / 227.4 MB, free: 10.62 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.006104, allocations: 0 / 227.4 MB, free: 10.62 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.0008124/0.006916, allocations: 0.6792 MB / 228.1 MB, free: 9.914 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.006954, allocations: 12.03 kB / 228.1 MB, free: 9.902 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.863e-05/0.007053, allocations: 64.89 kB / 228.1 MB, free: 9.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.007253, allocations: 185.8 kB / 228.3 MB, free: 9.629 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.007276, allocations: 33.38 kB / 228.4 MB, free: 9.598 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.007332, allocations: 40.38 kB / 228.4 MB, free: 9.559 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.007719, allocations: 0.5277 MB / 228.9 MB, free: 8.949 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.007735, allocations: 4.188 kB / 228.9 MB, free: 8.945 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.007757, allocations: 16.38 kB / 228.9 MB, free: 8.93 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.007768, allocations: 11.94 kB / 229 MB, free: 8.918 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.007906, allocations: 118.9 kB / 229.1 MB, free: 8.805 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.008907, allocations: 0.9073 MB / 230 MB, free: 7.844 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.009174, allocations: 158.7 kB / 230.1 MB, free: 7.68 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.009327, allocations: 116.7 kB / 230.3 MB, free: 7.562 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.00935, allocations: 8 kB / 230.3 MB, free: 7.555 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.009381, allocations: 38.55 kB / 230.3 MB, free: 7.508 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.009383, allocations: 3.938 kB / 230.3 MB, free: 7.504 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006203/0.01, allocations: 322.6 kB / 230.6 MB, free: 7.18 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.01003, allocations: 55.41 kB / 230.7 MB, free: 7.113 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.01014, allocations: 178.5 kB / 230.8 MB, free: 6.926 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.01016, allocations: 37.7 kB / 230.9 MB, free: 6.883 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.01024, allocations: 204.5 kB / 231.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.0103, allocations: 103.1 kB / 231.2 MB, free: 6.578 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.01035, allocations: 65.66 kB / 231.2 MB, free: 6.508 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.01044, allocations: 330.8 kB / 231.6 MB, free: 6.176 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.418e-05/0.01047, allocations: 23.98 kB / 231.6 MB, free: 6.152 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.0106, allocations: 292.6 kB / 231.9 MB, free: 5.793 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.01077, allocations: 172 kB / 232 MB, free: 5.617 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01077, allocations: 0 / 232 MB, free: 5.617 MB / 234.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001599/0.01093, allocations: 161.6 kB / 232.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.01094, allocations: 4 kB / 232.2 MB, free: 5.449 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01095, allocations: 0 / 232.2 MB, free: 5.449 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.01097, allocations: 7.984 kB / 232.2 MB, free: 5.441 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.01124, allocations: 117.7 kB / 232.3 MB, free: 5.328 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.01125, allocations: 0 / 232.3 MB, free: 5.328 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.769e-05/0.01132, allocations: 23.84 kB / 232.4 MB, free: 5.305 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.01133, allocations: 12.06 kB / 232.4 MB, free: 5.293 MB / 234.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.0001377/0.01147, allocations: 137.8 kB / 232.5 MB, free: 5.148 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.0115, allocations: 27.92 kB / 232.5 MB, free: 5.121 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.01154, allocations: 30.64 kB / 232.6 MB, free: 5.094 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01155, allocations: 7.938 kB / 232.6 MB, free: 5.086 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.01156, allocations: 4 kB / 232.6 MB, free: 5.082 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01156, allocations: 0 / 232.6 MB, free: 5.082 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.01202, allocations: 447 kB / 233 MB, free: 4.617 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01203, allocations: 4.031 kB / 233 MB, free: 4.613 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.01219, allocations: 63.94 kB / 233.1 MB, free: 4.551 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.01221, allocations: 27.73 kB / 233.1 MB, free: 4.523 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.01241, allocations: 80.8 kB / 233.2 MB, free: 4.441 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.01242, allocations: 4 kB / 233.2 MB, free: 4.438 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009664/0.01339, allocations: 1.492 MB / 234.7 MB, free: 2.852 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.01339, allocations: 8.031 kB / 234.7 MB, free: 2.844 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.01369, allocations: 342.6 kB / 235 MB, free: 2.488 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.01371, allocations: 11.98 kB / 235 MB, free: 2.477 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.01378, allocations: 8 kB / 235 MB, free: 2.469 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.01383, allocations: 23.95 kB / 235.1 MB, free: 2.445 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.01384, allocations: 8 kB / 235.1 MB, free: 2.438 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.01388, allocations: 40.81 kB / 235.1 MB, free: 2.395 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01388, allocations: 0 / 235.1 MB, free: 2.395 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.01409, allocations: 115.7 kB / 235.2 MB, free: 2.281 MB / 234.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 9.227e-05/0.01419, allocations: 88.41 kB / 235.3 MB, free: 2.188 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.01437, allocations: 128.9 kB / 235.4 MB, free: 2.059 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.01438, allocations: 4 kB / 235.4 MB, free: 2.055 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.01462, allocations: 248.2 kB / 235.7 MB, free: 1.797 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.01491, allocations: 307.5 kB / 236 MB, free: 1.441 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.01617, allocations: 0.663 MB / 236.6 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.589e-05/0.01624, allocations: 104.1 kB / 236.7 MB, free: 0.625 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.0163, allocations: 25.94 kB / 236.8 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.01643, allocations: 111.3 kB / 236.9 MB, free: 500 kB / 234.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01643, allocations: 0 / 236.9 MB, free: 500 kB / 234.7 MB Notification: Performance of Templates: time 0.005643/0.02207, allocations: 3.616 MB / 240.5 MB, free: 12.88 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8326321011409163]