Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001749/0.001749, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.002573/0.002573, allocations: 214.8 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 230.6 MB / 258.3 MB, free: 7.734 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+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 51.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2401, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004822/0.245, allocations: 3.216 MB / 435.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.2466, allocations: 0.818 MB / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.2467, allocations: 11.94 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.2469, allocations: 71.28 kB / 436.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.2472, allocations: 130.8 kB / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.2476, allocations: 139.8 kB / 436.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005617/0.2481, allocations: 0.5016 MB / 437.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.2483, allocations: 95.7 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.2487, allocations: 207.3 kB / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.2489, allocations: 207 kB / 437.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.249, allocations: 44 kB / 437.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.98e-05/0.2491, allocations: 40 kB / 437.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.486e-05/0.2492, allocations: 95.62 kB / 437.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.2494, allocations: 179.1 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.25, allocations: 0.5093 MB / 438.6 MB, free: 436 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.25, allocations: 0 / 438.6 MB, free: 436 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.25, allocations: 0 / 438.6 MB, free: 436 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.25, allocations: 0 / 438.6 MB, free: 436 kB / 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.001211/0.2512, allocations: 0.6606 MB / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2512, allocations: 8.031 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.2516, allocations: 76.58 kB / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.2521, allocations: 274.3 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.2521, allocations: 21.03 kB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.2521, allocations: 32.38 kB / 439.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.2529, allocations: 436.1 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2529, allocations: 0 / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.2529, allocations: 16 kB / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2529, allocations: 8 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005519/0.2535, allocations: 270.4 kB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.2554, allocations: 1.24 MB / 441.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.2558, allocations: 192.1 kB / 441.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.256, allocations: 109.1 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.256, allocations: 7.984 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.2561, allocations: 42.42 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.2561, allocations: 0 / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001418/0.2575, allocations: 483.2 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.2575, allocations: 55.39 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.2578, allocations: 296.5 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.2579, allocations: 29.7 kB / 442.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.258, allocations: 212.4 kB / 443 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.2581, allocations: 87.25 kB / 443.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.2582, allocations: 45.7 kB / 443.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.2583, allocations: 338.8 kB / 443.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.2585, allocations: 83.95 kB / 443.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.2588, allocations: 133 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.2592, allocations: 200.1 kB / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2592, allocations: 0 / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000717/0.2599, allocations: 355.7 kB / 444.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2599, allocations: 4 kB / 444.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2599, allocations: 0 / 444.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004305/0.2603, allocations: 114.5 kB / 444.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.2605, allocations: 35.91 kB / 444.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004091/0.2646, allocations: 4.572 MB / 448.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.2649, allocations: 31.86 kB / 449 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.2649, allocations: 12 kB / 449 MB, free: 5.418 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.0001927/0.2651, allocations: 146 kB / 449.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/0.2651, allocations: 31.81 kB / 449.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.2652, allocations: 39.17 kB / 449.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2652, allocations: 7.938 kB / 449.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2652, allocations: 3.984 kB / 449.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2652, allocations: 0 / 449.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.2656, allocations: 257.1 kB / 449.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2656, allocations: 0 / 449.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.2657, allocations: 23.92 kB / 449.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/0.266, allocations: 118.5 kB / 449.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.2661, allocations: 4 kB / 449.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00395/0.27, allocations: 4.577 MB / 454.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.27, allocations: 8.25 kB / 454.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.2707, allocations: 389.7 kB / 454.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.2708, allocations: 51.81 kB / 454.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.2709, allocations: 7.938 kB / 454.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.2711, allocations: 28.03 kB / 454.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.2712, allocations: 31.89 kB / 454.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.2712, allocations: 8 kB / 454.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.2714, allocations: 211.1 kB / 454.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2714, allocations: 0 / 454.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006928/0.2721, allocations: 119.7 kB / 455 MB, free: 15.01 MB / 366.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.0001322/0.2723, allocations: 107.2 kB / 455.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009103/0.2732, allocations: 0.5543 MB / 455.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2732, allocations: 0 / 455.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005619/0.2737, allocations: 476 kB / 456.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.2741, allocations: 41.08 kB / 456.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.2753, allocations: 0.6703 MB / 456.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.2755, allocations: 198.7 kB / 457 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.2756, allocations: 23.44 kB / 457.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2756, allocations: 3.938 kB / 457.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of Templates: time 0.01087/0.2865, allocations: 8.464 MB / 465.5 MB, free: 4.359 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.134992685023462]