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.0007182/0.0007182, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001749, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006618/0.0006618, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000864/0.001526, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9996/0.9996, allocations: 177.5 MB / 190 MB, free: 4.742 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09094/1.091, allocations: 53.87 MB / 243.9 MB, free: 14.8 MB / 250.7 MB " [Timeout remaining time 179] 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 2.064e-06/2.064e-06, allocations: 0 / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.63e-05, allocations: 2.312 kB / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.008362/0.008388, allocations: 3.511 MB / 248.7 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.01338, allocations: 0.872 MB / 249.6 MB, free: 9.094 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.0137, allocations: 11.94 kB / 249.6 MB, free: 9.082 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.01387, allocations: 67.3 kB / 249.7 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.01416, allocations: 150.6 kB / 249.8 MB, free: 8.867 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.01451, allocations: 139.7 kB / 250 MB, free: 8.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.01507, allocations: 0.5325 MB / 250.5 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.01527, allocations: 100.3 kB / 250.6 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004869/0.01575, allocations: 342.3 kB / 250.9 MB, free: 7.758 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.01596, allocations: 155.5 kB / 251.1 MB, free: 7.605 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.01602, allocations: 40 kB / 251.1 MB, free: 7.566 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.01613, allocations: 47.97 kB / 251.2 MB, free: 7.52 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003122/0.01925, allocations: 67.75 kB / 251.2 MB, free: 7.453 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.01942, allocations: 127.8 kB / 251.4 MB, free: 7.328 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.01982, allocations: 306.8 kB / 251.7 MB, free: 7.027 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/0.01984, allocations: 4 kB / 251.7 MB, free: 7.023 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01984, allocations: 0 / 251.7 MB, free: 7.023 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.01985, allocations: 3.938 kB / 251.7 MB, free: 7.02 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.0008705/0.02072, allocations: 0.7175 MB / 252.4 MB, free: 6.277 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.02075, allocations: 8.031 kB / 252.4 MB, free: 6.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.02105, allocations: 166 kB / 252.6 MB, free: 6.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.0214, allocations: 233.6 kB / 252.8 MB, free: 5.832 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.02142, allocations: 21.03 kB / 252.8 MB, free: 5.812 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.02146, allocations: 36.38 kB / 252.8 MB, free: 5.777 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.02184, allocations: 353.1 kB / 253.2 MB, free: 5.395 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.02185, allocations: 192 / 253.2 MB, free: 5.395 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.02187, allocations: 12.38 kB / 253.2 MB, free: 5.383 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.02188, allocations: 15.94 kB / 253.2 MB, free: 5.367 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.02205, allocations: 96.47 kB / 253.3 MB, free: 5.273 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.02326, allocations: 1.027 MB / 254.3 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.02347, allocations: 142.4 kB / 254.5 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.427e-05/0.02353, allocations: 44.83 kB / 254.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.02355, allocations: 8 kB / 254.5 MB, free: 3.98 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.02358, allocations: 38.56 kB / 254.6 MB, free: 3.934 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.452e-06/0.02358, allocations: 3.938 kB / 254.6 MB, free: 3.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007008/0.02428, allocations: 297.5 kB / 254.9 MB, free: 3.625 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.02431, allocations: 59.39 kB / 254.9 MB, free: 3.555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.02451, allocations: 270.9 kB / 255.2 MB, free: 3.277 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.02453, allocations: 33.7 kB / 255.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.02463, allocations: 193 kB / 255.4 MB, free: 3.043 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.02468, allocations: 83.31 kB / 255.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-05/0.02475, allocations: 53.67 kB / 255.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.02485, allocations: 342.7 kB / 255.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.0249, allocations: 27.98 kB / 255.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.02497, allocations: 60.27 kB / 256 MB, free: 2.457 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.02512, allocations: 112 kB / 256.1 MB, free: 2.332 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02512, allocations: 0 / 256.1 MB, free: 2.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003187/0.02544, allocations: 215.8 kB / 256.3 MB, free: 2.105 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.02546, allocations: 4 kB / 256.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.02547, allocations: 7.984 kB / 256.3 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/0.02574, allocations: 82.5 kB / 256.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.02586, allocations: 31.98 kB / 256.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.0285, allocations: 4.166 MB / 260.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.02864, allocations: 19.84 kB / 260.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.02866, allocations: 11.98 kB / 260.6 MB, free: 13.52 MB / 266.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 0.0001125/0.02877, allocations: 121.9 kB / 260.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.02882, allocations: 31.91 kB / 260.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.02886, allocations: 35.17 kB / 260.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.02886, allocations: 4 kB / 260.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.02887, allocations: 0 / 260.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.02887, allocations: 0 / 260.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.02913, allocations: 177.7 kB / 261 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.02913, allocations: 0 / 261 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.0292, allocations: 27.92 kB / 261 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.02928, allocations: 39.75 kB / 261 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001992/0.02948, allocations: 86.5 kB / 261.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.02949, allocations: 11.94 kB / 261.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.03173, allocations: 4.142 MB / 265.3 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03174, allocations: 0 / 265.3 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.032, allocations: 266.4 kB / 265.5 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.03203, allocations: 15.92 kB / 265.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.03216, allocations: 16.06 kB / 265.6 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.03224, allocations: 27.94 kB / 265.6 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.03225, allocations: 8 kB / 265.6 MB, free: 8.203 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.711e-05/0.03235, allocations: 96.64 kB / 265.7 MB, free: 8.109 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03235, allocations: 0 / 265.7 MB, free: 8.109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005972/0.03294, allocations: 119.7 kB / 265.8 MB, free: 7.992 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.0001183/0.03306, allocations: 88.48 kB / 265.9 MB, free: 7.898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000471/0.03353, allocations: 488.6 kB / 266.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/0.03355, allocations: 4 kB / 266.4 MB, free: 7.379 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.03386, allocations: 452.3 kB / 266.8 MB, free: 6.895 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.03434, allocations: 0.5528 MB / 267.4 MB, free: 6.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.03845, allocations: 0.6407 MB / 268 MB, free: 5.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.42e-05/0.03853, allocations: 100.6 kB / 268.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.257e-05/0.03863, allocations: 26.27 kB / 268.1 MB, free: 5.414 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.03877, allocations: 99.34 kB / 268.2 MB, free: 5.316 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03878, allocations: 0 / 268.2 MB, free: 5.316 MB / 266.7 MB Notification: Performance of Templates: time 0.01016/0.04893, allocations: 5.435 MB / 273.7 MB, free: 15.96 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 240] 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","",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.708129348233342]