Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001258/0.001258, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001437/0.001437, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 75.83 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2378, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.00536/0.2432, allocations: 3.543 MB / 435.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2446, allocations: 0.8506 MB / 436.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.2448, allocations: 11.94 kB / 436.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.245, allocations: 71.28 kB / 436.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.2452, allocations: 130.8 kB / 436.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.2456, allocations: 131.8 kB / 436.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005806/0.2461, allocations: 0.5094 MB / 437.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.2463, allocations: 99.28 kB / 437.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.2466, allocations: 195.3 kB / 437.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.2469, allocations: 215 kB / 437.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.247, allocations: 36 kB / 437.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.2471, allocations: 48 kB / 437.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.581e-05/0.2472, allocations: 87.67 kB / 438 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.2474, allocations: 222.9 kB / 438.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000562/0.2479, allocations: 0.4939 MB / 438.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.248, allocations: 4 kB / 438.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.248, allocations: 0 / 438.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.248, allocations: 0 / 438.7 MB, free: 0.7148 MB / 334.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.001231/0.2492, allocations: 0.7321 MB / 439.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2492, allocations: 11.97 kB / 439.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/0.2496, allocations: 80.58 kB / 439.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.2501, allocations: 327.5 kB / 439.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.2501, allocations: 32.97 kB / 439.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.2502, allocations: 28.38 kB / 439.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006689/0.2508, allocations: 359.1 kB / 440.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.2508, allocations: 7.875 kB / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.2509, allocations: 15.98 kB / 440.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.2509, allocations: 8 kB / 440.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005787/0.2515, allocations: 266.5 kB / 440.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.2535, allocations: 1.419 MB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.254, allocations: 214.4 kB / 442.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.2542, allocations: 97.22 kB / 442.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.2542, allocations: 0 / 442.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2543, allocations: 38.42 kB / 442.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.152e-06/0.2543, allocations: 0 / 442.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001646/0.2559, allocations: 0.7014 MB / 443 MB, free: 12.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.256, allocations: 51.41 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.2563, allocations: 312.6 kB / 443.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.2563, allocations: 33.7 kB / 443.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.2565, allocations: 212.5 kB / 443.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/0.2566, allocations: 83.25 kB / 443.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.2567, allocations: 53.66 kB / 443.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2568, allocations: 346.8 kB / 444.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.257, allocations: 75.97 kB / 444.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.2573, allocations: 128.7 kB / 444.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.2577, allocations: 200.1 kB / 444.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2577, allocations: 4 kB / 444.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007738/0.2585, allocations: 347.7 kB / 444.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2585, allocations: 8 kB / 444.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2585, allocations: 0 / 444.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/0.2589, allocations: 122.6 kB / 444.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.2591, allocations: 35.91 kB / 445 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004534/0.2636, allocations: 4.968 MB / 449.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.2639, allocations: 27.81 kB / 450 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2639, allocations: 11.94 kB / 450 MB, free: 4.625 MB / 350.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.000192/0.2641, allocations: 153.8 kB / 450.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.2641, allocations: 35.75 kB / 450.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.2642, allocations: 39.45 kB / 450.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2642, allocations: 0 / 450.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2642, allocations: 0 / 450.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.2644, allocations: 140.7 kB / 450.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.2644, allocations: 8 kB / 450.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.2646, allocations: 15.98 kB / 450.4 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.2647, allocations: 15.98 kB / 450.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009991/0.2657, allocations: 431.1 kB / 450.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007925/0.2665, allocations: 0.5056 MB / 451.3 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001935/0.2667, allocations: 80.03 kB / 451.4 MB, free: 3.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000232/0.2669, allocations: 219.1 kB / 451.6 MB, free: 2.945 MB / 350.1 MB Notification: Performance of Backend: time 3.41e-07/0.2669, allocations: 0 / 451.6 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.268, allocations: 0.5802 MB / 452.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of SimCode: time 0.001321/0.2693, allocations: 1.161 MB / 453.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of Templates: time 0.0107/0.28, allocations: 5.311 MB / 458.6 MB, free: 11.84 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.2783379959873855]