Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.001424/0.001424, allocations: 85.78 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001633/0.001633, allocations: 159.3 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.498/1.498, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.313e-05, allocations: 3.375 kB / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.007579/0.007612, allocations: 3.235 MB / 328.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.01031, allocations: 0.8059 MB / 329.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006546/0.01096, allocations: 9.469 kB / 329.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.01136, allocations: 71.81 kB / 329.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000697/0.01206, allocations: 143.2 kB / 329.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.01284, allocations: 140 kB / 329.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.0141, allocations: 0.537 MB / 330 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000383/0.01448, allocations: 101.6 kB / 330.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000966/0.01545, allocations: 292.7 kB / 330.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004996/0.01595, allocations: 157.8 kB / 330.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.01608, allocations: 39.31 kB / 330.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.01631, allocations: 42 kB / 330.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.01645, allocations: 90.25 kB / 330.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.01683, allocations: 151 kB / 330.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008253/0.01766, allocations: 0.5077 MB / 331.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.01766, allocations: 0 / 331.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01766, allocations: 4 kB / 331.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.774e-05/0.01769, allocations: 0 / 331.3 MB, free: 12.46 MB / 302.1 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.001516/0.01921, allocations: 0.6554 MB / 332 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.01924, allocations: 13.06 kB / 332 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004648/0.01971, allocations: 77.39 kB / 332.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.02029, allocations: 267.5 kB / 332.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.02032, allocations: 25.75 kB / 332.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.02038, allocations: 28.84 kB / 332.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/0.02121, allocations: 443.6 kB / 332.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.02123, allocations: 5.328 kB / 332.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.02129, allocations: 11.81 kB / 332.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.0213, allocations: 11.66 kB / 332.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006288/0.02193, allocations: 264.4 kB / 333.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.02417, allocations: 1.231 MB / 334.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.02461, allocations: 204.7 kB / 334.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.02484, allocations: 97.16 kB / 334.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.02486, allocations: 2.812 kB / 334.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.0249, allocations: 41.12 kB / 334.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.0249, allocations: 0 / 334.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001603/0.0265, allocations: 477.2 kB / 335.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.02655, allocations: 54.22 kB / 335.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.02696, allocations: 302.7 kB / 335.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.02699, allocations: 30.73 kB / 335.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.02717, allocations: 216.8 kB / 335.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.042e-05/0.02727, allocations: 72.8 kB / 335.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.02739, allocations: 54.59 kB / 335.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.02758, allocations: 337.8 kB / 336.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.0278, allocations: 83.2 kB / 336.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.02808, allocations: 114.8 kB / 336.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.02852, allocations: 206.9 kB / 336.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.02852, allocations: 4 kB / 336.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008544/0.02938, allocations: 346.1 kB / 336.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.02939, allocations: 6.062 kB / 336.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.0294, allocations: 1.156 kB / 336.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004457/0.02985, allocations: 113.6 kB / 337 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.03005, allocations: 43.19 kB / 337.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004519/0.03457, allocations: 4.575 MB / 341.7 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.03483, allocations: 28.69 kB / 341.7 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.03486, allocations: 5.344 kB / 341.7 MB, free: 3.676 MB / 302.1 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.0002174/0.03508, allocations: 151.1 kB / 341.8 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.03e-05/0.03516, allocations: 35.39 kB / 341.9 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/0.03523, allocations: 34.3 kB / 341.9 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.03523, allocations: 3.219 kB / 341.9 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.03523, allocations: 4.062 kB / 341.9 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.03524, allocations: 3.984 kB / 341.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.03565, allocations: 267.3 kB / 342.2 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.03565, allocations: 0 / 342.2 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.03578, allocations: 23.92 kB / 342.2 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003697/0.03615, allocations: 118.5 kB / 342.3 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.03617, allocations: 3.984 kB / 342.3 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004299/0.04047, allocations: 4.573 MB / 346.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.04047, allocations: 0 / 346.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.04117, allocations: 395.9 kB / 347.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.04131, allocations: 52 kB / 347.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.04135, allocations: 11.92 kB / 347.3 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.0416, allocations: 19.98 kB / 347.4 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.04168, allocations: 27.89 kB / 347.4 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.04171, allocations: 11.94 kB / 347.4 MB, free: 13.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002422/0.04195, allocations: 211.1 kB / 347.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.04195, allocations: 4 kB / 347.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007313/0.04268, allocations: 115.8 kB / 347.7 MB, free: 13.34 MB / 318.1 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.0001434/0.04282, allocations: 99.25 kB / 347.8 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009781/0.0438, allocations: 0.5699 MB / 348.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.0438, allocations: 0 / 348.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.04442, allocations: 472.7 kB / 348.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.04482, allocations: 45.27 kB / 348.9 MB, free: 12.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.04614, allocations: 0.6161 MB / 349.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.04637, allocations: 198.8 kB / 349.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.04647, allocations: 18.28 kB / 349.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.04653, allocations: 20.5 kB / 349.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.04653, allocations: 0 / 349.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Templates: time 0.01131/0.05784, allocations: 4.908 MB / 354.6 MB, free: 6.355 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.619160998612642]