Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.0009272/0.0009272, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.002243, 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.000913/0.000913, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.002018, 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.8654/0.8654, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1784/1.044, allocations: 52.48 MB / 238.5 MB, free: 7.617 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.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 239.7 MB, free: 6.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.09e-05, allocations: 2.312 kB / 239.8 MB, free: 6.34 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.003324/0.003344, allocations: 3.482 MB / 243.2 MB, free: 2.859 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.004505, allocations: 0.783 MB / 244 MB, free: 2.078 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.00464, allocations: 7.938 kB / 244 MB, free: 2.07 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.004751, allocations: 67.36 kB / 244.1 MB, free: 2.004 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.004937, allocations: 145.9 kB / 244.2 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.005256, allocations: 107.8 kB / 244.3 MB, free: 1.758 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.005651, allocations: 0.5222 MB / 244.9 MB, free: 1.23 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.005809, allocations: 104.2 kB / 245 MB, free: 1.117 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.006135, allocations: 330.4 kB / 245.3 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.006297, allocations: 152.1 kB / 245.4 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.006344, allocations: 40 kB / 245.5 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.376e-05/0.006387, allocations: 40.59 kB / 245.5 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.006437, allocations: 67.75 kB / 245.6 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.502e-05/0.006522, allocations: 124.3 kB / 245.7 MB, free: 392 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.006789, allocations: 308.5 kB / 246 MB, free: 84 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.006798, allocations: 4 kB / 246 MB, free: 80 kB / 234.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006799, allocations: 0 / 246 MB, free: 80 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.00681, allocations: 0 / 246 MB, free: 80 kB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0007054/0.007515, allocations: 0.7128 MB / 246.7 MB, free: 15.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.007547, allocations: 15.98 kB / 246.7 MB, free: 15.33 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.051e-05/0.007618, allocations: 53.64 kB / 246.8 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.007841, allocations: 222.3 kB / 247 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.007858, allocations: 21.75 kB / 247 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.007888, allocations: 33.03 kB / 247.1 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.008184, allocations: 357 kB / 247.4 MB, free: 14.6 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.008192, allocations: 2.719 kB / 247.4 MB, free: 14.6 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.008214, allocations: 16.38 kB / 247.4 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.008222, allocations: 11.94 kB / 247.4 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.008337, allocations: 92.47 kB / 247.5 MB, free: 14.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.00968, allocations: 1.036 MB / 248.6 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.009845, allocations: 139 kB / 248.7 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.009895, allocations: 49.64 kB / 248.7 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.009913, allocations: 4 kB / 248.7 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.009936, allocations: 40.16 kB / 248.8 MB, free: 13.13 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.192e-06/0.009938, allocations: 0 / 248.8 MB, free: 13.13 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005327/0.01047, allocations: 301.7 kB / 249.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.0105, allocations: 51.41 kB / 249.1 MB, free: 12.76 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.01065, allocations: 266.9 kB / 249.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.01067, allocations: 29.7 kB / 249.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.01075, allocations: 196.8 kB / 249.6 MB, free: 12.26 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.01079, allocations: 79.25 kB / 249.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.01085, allocations: 49.67 kB / 249.7 MB, free: 12.13 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.01095, allocations: 342.7 kB / 250.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-05/0.01098, allocations: 27.98 kB / 250.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.01104, allocations: 68.7 kB / 250.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.01115, allocations: 112.1 kB / 250.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01115, allocations: 0 / 250.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002245/0.01137, allocations: 199.8 kB / 250.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.01139, allocations: 8 kB / 250.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.01139, allocations: 0 / 250.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.0116, allocations: 98.55 kB / 250.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.552e-05/0.0117, allocations: 31.92 kB / 250.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.01382, allocations: 4.158 MB / 254.8 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-05/0.01391, allocations: 23.88 kB / 254.8 MB, free: 6.754 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.01392, allocations: 8 kB / 254.8 MB, free: 6.746 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (With_Ron_Goff_Vknee.off,With_Ron_Goff.off,Ideal.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/0.01401, allocations: 125.8 kB / 254.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.01404, allocations: 27.91 kB / 254.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.01407, allocations: 38.41 kB / 255 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.01407, allocations: 4.031 kB / 255 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.01408, allocations: 0 / 255 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01408, allocations: 0 / 255 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.0145, allocations: 181.6 kB / 255.2 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.0145, allocations: 0 / 255.2 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.01455, allocations: 19.98 kB / 255.2 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.0146, allocations: 31.8 kB / 255.2 MB, free: 6.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.01475, allocations: 86.52 kB / 255.3 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.01476, allocations: 11.88 kB / 255.3 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.01645, allocations: 4.134 MB / 259.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01646, allocations: 4.094 kB / 259.5 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.01665, allocations: 269.1 kB / 259.7 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.01667, allocations: 4 kB / 259.7 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.01675, allocations: 15.98 kB / 259.7 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.01681, allocations: 31.94 kB / 259.8 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01682, allocations: 4 kB / 259.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.896e-05/0.01688, allocations: 100.6 kB / 259.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.1e-08/0.01688, allocations: 0 / 259.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003752/0.01726, allocations: 127.6 kB / 260 MB, free: 1.234 MB / 250.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: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001053/0.01737, allocations: 88.42 kB / 260.1 MB, free: 1.137 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003939/0.01776, allocations: 484.6 kB / 260.6 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/0.01777, allocations: 7.984 kB / 260.6 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.01799, allocations: 448.5 kB / 261 MB, free: 136 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.0184, allocations: 0.5546 MB / 261.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.02137, allocations: 0.6252 MB / 262.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.399e-05/0.02144, allocations: 108.5 kB / 262.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.488e-05/0.0215, allocations: 18.3 kB / 262.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.02162, allocations: 95.34 kB / 262.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02162, allocations: 0 / 262.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of Templates: time 0.008609/0.03022, allocations: 5.43 MB / 267.8 MB, free: 9.242 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.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.6838232055306435]