Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001782/0.001782, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001953/0.001953, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 52.39 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2854, allocations: 49.15 MB / 396.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.00416/0.2895, allocations: 3.136 MB / 400 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.2908, allocations: 0.78 MB / 400.8 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.2909, allocations: 9.5 kB / 400.8 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.2911, allocations: 63.73 kB / 400.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.2914, allocations: 140.8 kB / 401 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.2917, allocations: 107.2 kB / 401.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.2922, allocations: 0.5019 MB / 401.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.2924, allocations: 96.78 kB / 401.7 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.2927, allocations: 198.8 kB / 401.9 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.293, allocations: 189.5 kB / 402.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.541e-05/0.2931, allocations: 39.62 kB / 402.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.2931, allocations: 38.78 kB / 402.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.492e-05/0.2932, allocations: 90.91 kB / 402.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.2934, allocations: 185.3 kB / 402.4 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005549/0.294, allocations: 499.5 kB / 402.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.294, allocations: 0 / 402.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.294, allocations: 1.062 kB / 402.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.294, allocations: 0 / 402.9 MB, free: 5.672 MB / 318.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.001067/0.2951, allocations: 0.6571 MB / 403.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2951, allocations: 8.562 kB / 403.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/0.2952, allocations: 48.83 kB / 403.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.2956, allocations: 258.7 kB / 403.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.2957, allocations: 29 kB / 403.9 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.2957, allocations: 28.69 kB / 403.9 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.2963, allocations: 437 kB / 404.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2963, allocations: 3.938 kB / 404.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.2964, allocations: 15.22 kB / 404.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.2964, allocations: 8.906 kB / 404.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005393/0.2969, allocations: 271.5 kB / 404.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.2986, allocations: 1.221 MB / 405.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.299, allocations: 199.6 kB / 406.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.2992, allocations: 97.88 kB / 406.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.2992, allocations: 10.75 kB / 406.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2992, allocations: 32.5 kB / 406.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.303e-06/0.2992, allocations: 1.375 kB / 406.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0014/0.3006, allocations: 474.6 kB / 406.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.3007, allocations: 58.86 kB / 406.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.301, allocations: 293.4 kB / 407 MB, free: 3.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.301, allocations: 30.92 kB / 407 MB, free: 2.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3011, allocations: 213.2 kB / 407.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.3012, allocations: 83.23 kB / 407.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.3013, allocations: 47.31 kB / 407.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.3013, allocations: 337.7 kB / 407.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.3015, allocations: 81.73 kB / 407.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.3017, allocations: 117 kB / 407.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.3021, allocations: 208 kB / 408.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3021, allocations: 0 / 408.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006308/0.3027, allocations: 354.1 kB / 408.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3027, allocations: 10.83 kB / 408.4 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3027, allocations: 1.062 kB / 408.4 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/0.3031, allocations: 117.2 kB / 408.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.3033, allocations: 29.28 kB / 408.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/0.3069, allocations: 4.585 MB / 413.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.3072, allocations: 26.36 kB / 413.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.3072, allocations: 11.27 kB / 413.2 MB, free: 13.55 MB / 334.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.0002126/0.3074, allocations: 151.3 kB / 413.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.3075, allocations: 31.59 kB / 413.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.3075, allocations: 36.33 kB / 413.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3075, allocations: 11.5 kB / 413.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3075, allocations: 1.125 kB / 413.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3075, allocations: 0.6094 kB / 413.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.3079, allocations: 257.4 kB / 413.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3079, allocations: 1.031 kB / 413.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.3081, allocations: 19.67 kB / 413.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003358/0.3084, allocations: 121.8 kB / 413.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3084, allocations: 1.75 kB / 413.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/0.3129, allocations: 4.575 MB / 418.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.3129, allocations: 0.6562 kB / 418.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006683/0.3135, allocations: 393.8 kB / 418.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3137, allocations: 46.61 kB / 418.8 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.3137, allocations: 6.938 kB / 418.8 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.3139, allocations: 28.03 kB / 418.9 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/0.314, allocations: 25.28 kB / 418.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.314, allocations: 9.5 kB / 418.9 MB, free: 8.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002386/0.3143, allocations: 207.5 kB / 419.1 MB, free: 8.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3143, allocations: 0 / 419.1 MB, free: 8.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006768/0.315, allocations: 114.9 kB / 419.2 MB, free: 8.316 MB / 334.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.0001644/0.3151, allocations: 104.6 kB / 419.3 MB, free: 8.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009527/0.3161, allocations: 0.5616 MB / 419.9 MB, free: 7.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3161, allocations: 1.781 kB / 419.9 MB, free: 7.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005753/0.3167, allocations: 481.9 kB / 420.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.3171, allocations: 51.94 kB / 420.4 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.3183, allocations: 0.6405 MB / 421 MB, free: 6.855 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.3184, allocations: 192.5 kB / 421.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.587e-05/0.3185, allocations: 19.52 kB / 421.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.3186, allocations: 16.94 kB / 421.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3186, allocations: 5 kB / 421.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of Templates: time 0.01107/0.3297, allocations: 5.348 MB / 426.6 MB, free: 3.934 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.8908743020147085]