Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.001781/0.001781, allocations: 88.31 kB / 21.73 MB, free: 2.809 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.001535/0.001535, allocations: 160.4 kB / 25.02 MB, free: 8.848 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 1.443/1.443, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.777e-05, allocations: 2.312 kB / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005019/0.005047, allocations: 3.15 MB / 253.5 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.006493, allocations: 0.7643 MB / 254.3 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.006633, allocations: 11.84 kB / 254.3 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.00684, allocations: 67.36 kB / 254.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.007097, allocations: 138.6 kB / 254.5 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.007416, allocations: 119.8 kB / 254.6 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006122/0.008028, allocations: 0.5207 MB / 255.1 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.008241, allocations: 95.64 kB / 255.2 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.00862, allocations: 287.3 kB / 255.5 MB, free: 14.76 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.008868, allocations: 155.5 kB / 255.7 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/0.008944, allocations: 40 kB / 255.7 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.045e-05/0.009014, allocations: 40 kB / 255.7 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.009106, allocations: 91.67 kB / 255.8 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.009297, allocations: 151.6 kB / 256 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006098/0.009907, allocations: 0.4945 MB / 256.5 MB, free: 13.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.00991, allocations: 4 kB / 256.5 MB, free: 13.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.009912, allocations: 0 / 256.5 MB, free: 13.79 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.009919, allocations: 0 / 256.5 MB, free: 13.79 MB / 250.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.001236/0.01115, allocations: 0.649 MB / 257.1 MB, free: 13.11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.01119, allocations: 11.97 kB / 257.1 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.01133, allocations: 80.64 kB / 257.2 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.0118, allocations: 253.6 kB / 257.5 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.01183, allocations: 29.03 kB / 257.5 MB, free: 12.72 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.01188, allocations: 28.38 kB / 257.5 MB, free: 12.69 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.01259, allocations: 436.4 kB / 257.9 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.0126, allocations: 4.188 kB / 257.9 MB, free: 12.22 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.01264, allocations: 12.38 kB / 258 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.01266, allocations: 11.94 kB / 258 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.01323, allocations: 266.4 kB / 258.2 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.01526, allocations: 1.242 MB / 259.5 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.01571, allocations: 198.5 kB / 259.7 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.01594, allocations: 96.81 kB / 259.8 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.01596, allocations: 4 kB / 259.8 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.016, allocations: 34.56 kB / 259.8 MB, free: 10.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.112e-06/0.016, allocations: 3.938 kB / 259.8 MB, free: 10.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.001514/0.01752, allocations: 480.7 kB / 260.3 MB, free: 9.781 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.01757, allocations: 55.41 kB / 260.3 MB, free: 9.715 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.01796, allocations: 296.5 kB / 260.6 MB, free: 9.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.01799, allocations: 29.7 kB / 260.6 MB, free: 9.375 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.0182, allocations: 216.4 kB / 260.9 MB, free: 9.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/0.01828, allocations: 71.33 kB / 260.9 MB, free: 9.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.01838, allocations: 53.66 kB / 261 MB, free: 9.031 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.01859, allocations: 338.8 kB / 261.3 MB, free: 8.691 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.0188, allocations: 83.95 kB / 261.4 MB, free: 8.609 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.01907, allocations: 132.2 kB / 261.5 MB, free: 8.465 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.01951, allocations: 200.1 kB / 261.7 MB, free: 8.254 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.01951, allocations: 0 / 261.7 MB, free: 8.254 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008131/0.02033, allocations: 363.7 kB / 262.1 MB, free: 7.883 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.02035, allocations: 10.66 kB / 262.1 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.02036, allocations: 0 / 262.1 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004999/0.02086, allocations: 118.4 kB / 262.2 MB, free: 7.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.02105, allocations: 40.03 kB / 262.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004664/0.02572, allocations: 4.58 MB / 266.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.02592, allocations: 27.81 kB / 266.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.02595, allocations: 8 kB / 266.8 MB, free: 2.789 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 (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 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 0.0002085/0.02615, allocations: 149.7 kB / 267 MB, free: 2.633 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.47e-05/0.02624, allocations: 43.8 kB / 267 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.417e-05/0.02631, allocations: 34.41 kB / 267.1 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.02632, allocations: 8.078 kB / 267.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.02632, allocations: 0 / 267.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.02633, allocations: 4.062 kB / 267.1 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.02673, allocations: 261.1 kB / 267.3 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02673, allocations: 128 / 267.3 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.02686, allocations: 23.98 kB / 267.4 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003464/0.0272, allocations: 114.4 kB / 267.5 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.02722, allocations: 4 kB / 267.5 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004645/0.03187, allocations: 4.584 MB / 272.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.03187, allocations: 0 / 272.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.03259, allocations: 405.9 kB / 272.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.03271, allocations: 51.73 kB / 272.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.03275, allocations: 8 kB / 272.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.03297, allocations: 16.17 kB / 272.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.03311, allocations: 35.89 kB / 272.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.03314, allocations: 7.938 kB / 272.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002763/0.03342, allocations: 207.1 kB / 272.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03342, allocations: 0 / 272.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000708/0.03412, allocations: 123.8 kB / 272.9 MB, free: 12.36 MB / 266.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.0001651/0.03429, allocations: 99.25 kB / 273 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.03533, allocations: 0.5616 MB / 273.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.03533, allocations: 4.062 kB / 273.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006215/0.03595, allocations: 475.6 kB / 274 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.03638, allocations: 52.91 kB / 274.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.03771, allocations: 0.6291 MB / 274.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.03793, allocations: 190.5 kB / 274.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.03804, allocations: 26.33 kB / 274.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.0381, allocations: 16.5 kB / 274.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0381, allocations: 0 / 274.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of Templates: time 0.01131/0.04941, allocations: 4.937 MB / 279.9 MB, free: 5.281 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.496177208027802]