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.001498/0.001498, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001636/0.001636, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.496/1.496, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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.653e-06/1.653e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.016e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005564/0.005594, allocations: 3.218 MB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.007551, allocations: 0.8255 MB / 276.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003906/0.007942, allocations: 7.938 kB / 276.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.00818, allocations: 71.28 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.00853, allocations: 142.7 kB / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.008974, allocations: 139.7 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006372/0.009611, allocations: 0.5286 MB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.009835, allocations: 99.62 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.01028, allocations: 299.2 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.01052, allocations: 151.6 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.55e-05/0.01059, allocations: 36 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.0107, allocations: 55.94 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.739e-05/0.01078, allocations: 87.66 kB / 277.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.01097, allocations: 151.6 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000657/0.01162, allocations: 0.5062 MB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01163, allocations: 0 / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01163, allocations: 3.938 kB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.01164, allocations: 0 / 278.5 MB, free: 11.47 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.001164/0.0128, allocations: 0.6567 MB / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.01284, allocations: 12.03 kB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.01324, allocations: 104.6 kB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.01378, allocations: 273.6 kB / 279.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.01381, allocations: 21.03 kB / 279.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.01386, allocations: 32.38 kB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000823/0.01469, allocations: 432.4 kB / 280 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.0147, allocations: 192 / 280 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.01473, allocations: 16.38 kB / 280 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.01475, allocations: 11.94 kB / 280 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.01536, allocations: 270.4 kB / 280.3 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.01741, allocations: 1.234 MB / 281.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.01783, allocations: 202.3 kB / 281.7 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.01806, allocations: 104.8 kB / 281.8 MB, free: 7.941 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.01808, allocations: 4 kB / 281.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.01811, allocations: 34.56 kB / 281.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.142e-06/0.01811, allocations: 0 / 281.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001473/0.01959, allocations: 482.3 kB / 282.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.01963, allocations: 51.41 kB / 282.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.01998, allocations: 304.5 kB / 282.7 MB, free: 7.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.02001, allocations: 29.7 kB / 282.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.02018, allocations: 224.3 kB / 282.9 MB, free: 6.785 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/0.02025, allocations: 75.38 kB / 283 MB, free: 6.711 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.02035, allocations: 49.66 kB / 283.1 MB, free: 6.656 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.02054, allocations: 338.8 kB / 283.4 MB, free: 6.316 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.02074, allocations: 79.95 kB / 283.5 MB, free: 6.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.02097, allocations: 132.2 kB / 283.6 MB, free: 6.094 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.02139, allocations: 196.1 kB / 283.8 MB, free: 5.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02139, allocations: 0 / 283.8 MB, free: 5.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000786/0.02218, allocations: 367.7 kB / 284.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.0222, allocations: 7.938 kB / 284.2 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.0222, allocations: 7.938 kB / 284.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004319/0.02264, allocations: 114.5 kB / 284.3 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.02281, allocations: 23.98 kB / 284.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/0.02782, allocations: 4.592 MB / 288.9 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.02809, allocations: 32.03 kB / 288.9 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.02811, allocations: 12 kB / 288.9 MB, free: 420 kB / 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 (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.0002328/0.02834, allocations: 150 kB / 289.1 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.892e-05/0.02842, allocations: 43.77 kB / 289.1 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.497e-05/0.0285, allocations: 39.17 kB / 289.2 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.0285, allocations: 4 kB / 289.2 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.02851, allocations: 0 / 289.2 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.02851, allocations: 3.984 kB / 289.2 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.02892, allocations: 253.1 kB / 289.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.02892, allocations: 3.984 kB / 289.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.02904, allocations: 23.92 kB / 289.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003541/0.0294, allocations: 118.5 kB / 289.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.02942, allocations: 4 kB / 289.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004515/0.03393, allocations: 4.589 MB / 294.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.03393, allocations: 0 / 294.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.03464, allocations: 403.2 kB / 294.6 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.03476, allocations: 51.72 kB / 294.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.03481, allocations: 4 kB / 294.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.03505, allocations: 28.09 kB / 294.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/0.03514, allocations: 23.95 kB / 294.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.03516, allocations: 11.94 kB / 294.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002491/0.03541, allocations: 211.1 kB / 294.9 MB, free: 10.1 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03541, allocations: 0 / 294.9 MB, free: 10.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000721/0.03613, allocations: 115.8 kB / 295 MB, free: 9.984 MB / 282.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.0001577/0.03629, allocations: 99.12 kB / 295.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.03732, allocations: 0.577 MB / 295.7 MB, free: 9.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.03732, allocations: 0 / 295.7 MB, free: 9.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006321/0.03795, allocations: 467.9 kB / 296.1 MB, free: 8.773 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.03836, allocations: 57.42 kB / 296.2 MB, free: 8.715 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.03965, allocations: 0.6362 MB / 296.8 MB, free: 8.055 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.03987, allocations: 194.5 kB / 297 MB, free: 7.844 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.03998, allocations: 22.3 kB / 297 MB, free: 7.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.04003, allocations: 16.5 kB / 297 MB, free: 7.805 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.04003, allocations: 0 / 297 MB, free: 7.805 MB / 282.7 MB Notification: Performance of Templates: time 0.01077/0.0508, allocations: 4.951 MB / 302 MB, free: 2.922 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.489599209977314]