Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9607/0.9607, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2689/0.2689, allocations: 34.87 MB / 296.3 MB, free: 0.5234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.031e-05, allocations: 8.562 kB / 378.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002411/0.002441, allocations: 1.935 MB / 380.7 MB, free: 140 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008099/0.003251, allocations: 0.5802 MB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.003314, allocations: 0 / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.09e-05/0.003365, allocations: 19.84 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.003566, allocations: 35.7 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.003809, allocations: 95.66 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.003962, allocations: 159.4 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.669e-05/0.004058, allocations: 25.28 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.004238, allocations: 103.7 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.784e-05/0.004306, allocations: 43.89 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.004326, allocations: 12 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.761e-05/0.004364, allocations: 19.94 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.004386, allocations: 31.89 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.004434, allocations: 55.83 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.004569, allocations: 99.64 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.004571, allocations: 0 / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004571, allocations: 4 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.004574, allocations: 0 / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004628/0.005037, allocations: 464.1 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.005065, allocations: 8.031 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.005218, allocations: 44.86 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.005315, allocations: 136.4 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.005325, allocations: 8.375 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.005343, allocations: 4.375 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.005551, allocations: 181.3 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.005561, allocations: 4.172 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.005574, allocations: 4.375 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.00558, allocations: 3.938 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.249e-05/0.005643, allocations: 27.98 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.006111, allocations: 414.6 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.591e-05/0.006207, allocations: 50.98 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.00624, allocations: 19.69 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.006253, allocations: 4 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.00628, allocations: 33.39 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.006282, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004901/0.006772, allocations: 145.6 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.006836, allocations: 114.8 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.006955, allocations: 204.9 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.006975, allocations: 33.7 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.007045, allocations: 154.9 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.007061, allocations: 27.78 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.007107, allocations: 31.36 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.007232, allocations: 0.4884 MB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.007266, allocations: 16 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.926e-05/0.007365, allocations: 109.8 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.203e-05/0.007447, allocations: 71 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007448, allocations: 0 / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001348/0.007583, allocations: 93.55 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.007595, allocations: 4 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.007601, allocations: 4 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.007612, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.007889, allocations: 79.86 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000925/0.008814, allocations: 1.886 MB / 386.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.008888, allocations: 8 kB / 386.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.008899, allocations: 11.98 kB / 386.8 MB, free: 9.602 MB / 362.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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.334e-05/0.008972, allocations: 160.7 kB / 386.9 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.009002, allocations: 15.89 kB / 387 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.931e-05/0.009101, allocations: 82.38 kB / 387 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.009103, allocations: 0 / 387 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.51e-07/0.009103, allocations: 0 / 387 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.009106, allocations: 0 / 387 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.009395, allocations: 357.4 kB / 387.4 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.009397, allocations: 3.938 kB / 387.4 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.009455, allocations: 19.98 kB / 387.4 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.009456, allocations: 4 kB / 387.4 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.009464, allocations: 4.062 kB / 387.4 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009466, allocations: 0 / 387.4 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.009467, allocations: 0 / 387.4 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.009598, allocations: 224 kB / 387.6 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.00961, allocations: 15.89 kB / 387.7 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.009622, allocations: 4 kB / 387.7 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.009692, allocations: 15.98 kB / 387.7 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.009725, allocations: 7.969 kB / 387.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.009731, allocations: 8 kB / 387.7 MB, free: 8.621 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.707e-05/0.009788, allocations: 151.1 kB / 387.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009788, allocations: 0 / 387.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.009953, allocations: 27.98 kB / 387.9 MB, free: 8.445 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 7.012e-05/0.01002, allocations: 99.25 kB / 388 MB, free: 8.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.01033, allocations: 91.55 kB / 388 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01034, allocations: 4.125 kB / 388.1 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.908e-05/0.01037, allocations: 27.67 kB / 388.1 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.01055, allocations: 23.86 kB / 388.1 MB, free: 8.188 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.01108, allocations: 300 kB / 388.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.01111, allocations: 67.28 kB / 388.5 MB, free: 7.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.951e-05/0.01115, allocations: 12.48 kB / 388.5 MB, free: 7.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.0112, allocations: 16.5 kB / 388.5 MB, free: 7.75 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0112, allocations: 0 / 388.5 MB, free: 7.75 MB / 362.7 MB Notification: Performance of Templates: time 0.003258/0.01445, allocations: 1.995 MB / 390.5 MB, free: 5.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.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: 3.059090184047818]