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.001414/0.001414, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001662/0.001662, allocations: 160.2 kB / 24.91 MB, free: 8.766 MB / 18.57 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.9561/0.9561, allocations: 177 MB / 205.2 MB, free: 5.031 MB / 186.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 1.012e-06/1.012e-06, allocations: 0 / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.845e-05, allocations: 6.312 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.003022/0.00304, allocations: 3.456 MB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.004392, allocations: 0.8527 MB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.004551, allocations: 11.94 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.004701, allocations: 75.22 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.00488, allocations: 138.7 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.005173, allocations: 135.8 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.005527, allocations: 0.5324 MB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.00567, allocations: 104.2 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.005948, allocations: 307.3 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.006112, allocations: 159.5 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.006153, allocations: 40 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-05/0.006215, allocations: 40 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.006263, allocations: 91.66 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.453e-05/0.006358, allocations: 151.6 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.00663, allocations: 346.7 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.006632, allocations: 0 / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.52e-07/0.006633, allocations: 0 / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.006636, allocations: 4 kB / 279.8 MB, free: 10.61 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.0008359/0.007472, allocations: 0.6358 MB / 280.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.007501, allocations: 12.03 kB / 280.5 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.007679, allocations: 84.8 kB / 280.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.007896, allocations: 233.6 kB / 280.8 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.007914, allocations: 25.03 kB / 280.8 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.007941, allocations: 28.38 kB / 280.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.008213, allocations: 361 kB / 281.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.008222, allocations: 4.188 kB / 281.2 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.00824, allocations: 12.38 kB / 281.2 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.008248, allocations: 15.94 kB / 281.2 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.008356, allocations: 88.48 kB / 281.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008465/0.009203, allocations: 1.019 MB / 282.3 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.009353, allocations: 142.5 kB / 282.4 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.009401, allocations: 44.83 kB / 282.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.009419, allocations: 11.98 kB / 282.5 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.00944, allocations: 42.56 kB / 282.5 MB, free: 7.699 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.133e-06/0.009441, allocations: 0 / 282.5 MB, free: 7.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005113/0.009953, allocations: 293.7 kB / 282.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.009973, allocations: 55.41 kB / 282.9 MB, free: 7.332 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.01012, allocations: 270.9 kB / 283.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.01014, allocations: 33.7 kB / 283.2 MB, free: 7.016 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.0102, allocations: 193 kB / 283.4 MB, free: 6.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.01024, allocations: 95.23 kB / 283.5 MB, free: 6.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.01029, allocations: 45.69 kB / 283.5 MB, free: 6.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.01036, allocations: 342.7 kB / 283.8 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/0.0104, allocations: 27.98 kB / 283.9 MB, free: 6.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.416e-05/0.01045, allocations: 64.25 kB / 283.9 MB, free: 6.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.01055, allocations: 116 kB / 284 MB, free: 6.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.01056, allocations: 4 kB / 284 MB, free: 6.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002107/0.01077, allocations: 200 kB / 284.2 MB, free: 5.887 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.01078, allocations: 8 kB / 284.3 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01078, allocations: 3.984 kB / 284.3 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.01097, allocations: 94.44 kB / 284.3 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/0.01104, allocations: 23.98 kB / 284.4 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.01302, allocations: 4.154 MB / 288.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.01309, allocations: 23.84 kB / 288.5 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.0131, allocations: 7.984 kB / 288.6 MB, free: 1.305 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.783e-05/0.01318, allocations: 125.9 kB / 288.7 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.01321, allocations: 31.91 kB / 288.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.01324, allocations: 39.17 kB / 288.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01324, allocations: 4 kB / 288.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.01324, allocations: 0 / 288.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.01325, allocations: 0 / 288.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.01341, allocations: 177.7 kB / 288.9 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01341, allocations: 0 / 288.9 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.01345, allocations: 20.08 kB / 288.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.01359, allocations: 94.42 kB / 289 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.0136, allocations: 4 kB / 289 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1079/0.1215, allocations: 4.131 MB / 293.2 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1215, allocations: 0 / 293.2 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.1218, allocations: 271.2 kB / 293.4 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.1218, allocations: 34.95 kB / 293.5 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.1219, allocations: 4.375 kB / 293.5 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.122, allocations: 19.42 kB / 293.5 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.122, allocations: 32.52 kB / 293.5 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.122, allocations: 5.422 kB / 293.5 MB, free: 21.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.272e-05/0.1221, allocations: 106.9 kB / 293.6 MB, free: 21.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1221, allocations: 1.438 kB / 293.6 MB, free: 21.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004502/0.1226, allocations: 121 kB / 293.8 MB, free: 21.95 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.551e-05/0.1227, allocations: 85.34 kB / 293.8 MB, free: 21.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003593/0.123, allocations: 483.9 kB / 294.3 MB, free: 21.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.123, allocations: 2.75 kB / 294.3 MB, free: 21.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.1232, allocations: 436.2 kB / 294.7 MB, free: 21.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.1235, allocations: 56.19 kB / 294.8 MB, free: 21.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/0.1243, allocations: 0.6102 MB / 295.4 MB, free: 20.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.815e-05/0.1244, allocations: 101.3 kB / 295.5 MB, free: 20.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.995e-05/0.1245, allocations: 27.36 kB / 295.5 MB, free: 20.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.1246, allocations: 101 kB / 295.6 MB, free: 20.77 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1246, allocations: 0.5 kB / 295.6 MB, free: 20.77 MB / 266.7 MB Notification: Performance of Templates: time 0.007627/0.1322, allocations: 5.233 MB / 300.9 MB, free: 20 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.821934532839805]