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.0009336/0.0009336, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001301/0.001301, allocations: 174.3 kB / 24.92 MB, free: 8.77 MB / 18.57 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 0.9654/0.9654, allocations: 177.1 MB / 205.3 MB, free: 5.094 MB / 186.7 MB " [Timeout remaining time 179] 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 1.492e-06/1.492e-06, allocations: 0 / 273.5 MB, free: 1.125 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.916e-05, allocations: 2.312 kB / 273.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.003494/0.003513, allocations: 3.499 MB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.00455, allocations: 0.8527 MB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.004676, allocations: 11.94 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.004845, allocations: 67.3 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.005018, allocations: 146.6 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.005282, allocations: 135.8 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.005636, allocations: 0.5247 MB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.005795, allocations: 108.2 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.006101, allocations: 287.4 kB / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.006261, allocations: 159.5 kB / 279.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.006303, allocations: 40 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.859e-05/0.006381, allocations: 44 kB / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.00643, allocations: 91.59 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.055e-05/0.006521, allocations: 147.7 kB / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.006802, allocations: 350.6 kB / 279.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006804, allocations: 0 / 279.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006805, allocations: 4 kB / 279.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.006809, allocations: 0 / 279.9 MB, free: 10.65 MB / 266.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.0005607/0.00737, allocations: 0.6358 MB / 280.6 MB, free: 9.988 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.007401, allocations: 12.03 kB / 280.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.007577, allocations: 84.86 kB / 280.7 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.007803, allocations: 237.5 kB / 280.9 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.007818, allocations: 21.03 kB / 280.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.007844, allocations: 36.38 kB / 281 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.008111, allocations: 353.1 kB / 281.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.00812, allocations: 4.188 kB / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.008137, allocations: 16.31 kB / 281.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.008163, allocations: 11.94 kB / 281.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.008276, allocations: 88.55 kB / 281.4 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008714/0.009147, allocations: 1.023 MB / 282.4 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.009297, allocations: 150.4 kB / 282.6 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.009345, allocations: 44.84 kB / 282.6 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.00936, allocations: 4 kB / 282.6 MB, free: 7.785 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.009379, allocations: 34.56 kB / 282.7 MB, free: 7.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.343e-06/0.00938, allocations: 0 / 282.7 MB, free: 7.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005206/0.009901, allocations: 302.9 kB / 283 MB, free: 7.434 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.009925, allocations: 55.41 kB / 283 MB, free: 7.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.01007, allocations: 270.9 kB / 283.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.01008, allocations: 33.7 kB / 283.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.01016, allocations: 201 kB / 283.5 MB, free: 6.852 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.01019, allocations: 75.33 kB / 283.6 MB, free: 6.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.01024, allocations: 45.69 kB / 283.6 MB, free: 6.727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.01033, allocations: 346.7 kB / 284 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.01036, allocations: 23.98 kB / 284 MB, free: 6.355 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.689e-05/0.01042, allocations: 68.25 kB / 284.1 MB, free: 6.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.786e-05/0.01052, allocations: 108.1 kB / 284.2 MB, free: 6.152 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01052, allocations: 0 / 284.2 MB, free: 6.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002182/0.01074, allocations: 211.8 kB / 284.4 MB, free: 5.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.01075, allocations: 7.984 kB / 284.4 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01075, allocations: 4 kB / 284.4 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.01094, allocations: 86.45 kB / 284.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.01102, allocations: 27.98 kB / 284.5 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.01289, allocations: 4.15 MB / 288.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.438e-05/0.01297, allocations: 35.86 kB / 288.7 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.01298, allocations: 8 kB / 288.7 MB, free: 1.348 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 7.755e-05/0.01306, allocations: 118 kB / 288.8 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.01309, allocations: 35.91 kB / 288.8 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.01312, allocations: 39.17 kB / 288.9 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.01312, allocations: 96 / 288.9 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.01312, allocations: 3.984 kB / 288.9 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01312, allocations: 0 / 288.9 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.01328, allocations: 181.7 kB / 289.1 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01328, allocations: 4 kB / 289.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.324e-05/0.01334, allocations: 27.91 kB / 289.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.01348, allocations: 86.5 kB / 289.2 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.01349, allocations: 7.938 kB / 289.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1042/0.1176, allocations: 4.137 MB / 293.3 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1176, allocations: 1.734 kB / 293.3 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1179, allocations: 267.8 kB / 293.6 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/0.118, allocations: 35.38 kB / 293.6 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.118, allocations: 5.438 kB / 293.6 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1182, allocations: 21.86 kB / 293.6 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.689e-05/0.1182, allocations: 28.5 kB / 293.7 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1183, allocations: 5.438 kB / 293.7 MB, free: 21.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.877e-05/0.1184, allocations: 108.6 kB / 293.8 MB, free: 21.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1184, allocations: 1.969 kB / 293.8 MB, free: 21.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006078/0.119, allocations: 118.6 kB / 293.9 MB, free: 21.9 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 9.581e-05/0.1191, allocations: 84.38 kB / 294 MB, free: 21.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004092/0.1195, allocations: 483 kB / 294.5 MB, free: 21.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.1195, allocations: 4.438 kB / 294.5 MB, free: 21.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.1197, allocations: 438.1 kB / 294.9 MB, free: 21.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.12, allocations: 48.44 kB / 294.9 MB, free: 21.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1211, allocations: 0.6134 MB / 295.5 MB, free: 20.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.625e-05/0.1212, allocations: 102 kB / 295.6 MB, free: 20.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.584e-05/0.1213, allocations: 25.98 kB / 295.7 MB, free: 20.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.1214, allocations: 104.6 kB / 295.8 MB, free: 20.71 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1214, allocations: 0 / 295.8 MB, free: 20.71 MB / 266.7 MB Notification: Performance of Templates: time 0.009227/0.1307, allocations: 5.242 MB / 301 MB, free: 19.95 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.676743491087109]