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.00105/0.00105, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001273/0.001273, allocations: 158.9 kB / 25.74 MB, free: 8.953 MB / 18.57 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 0.8874/0.8874, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.667e-05, allocations: 2.312 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004363/0.00439, allocations: 3.416 MB / 254.5 MB, free: 4.363 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.005708, allocations: 0.7837 MB / 255.3 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.00589, allocations: 4 kB / 255.3 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.006086, allocations: 75.28 kB / 255.4 MB, free: 3.492 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.006326, allocations: 138.7 kB / 255.5 MB, free: 3.355 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.006644, allocations: 111.8 kB / 255.6 MB, free: 3.246 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005332/0.007178, allocations: 0.5207 MB / 256.2 MB, free: 2.723 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.007395, allocations: 95.64 kB / 256.2 MB, free: 2.629 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003599/0.007755, allocations: 291.3 kB / 256.5 MB, free: 2.344 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.007984, allocations: 155.5 kB / 256.7 MB, free: 2.191 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-05/0.008062, allocations: 40 kB / 256.7 MB, free: 2.152 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.367e-05/0.008126, allocations: 40 kB / 256.8 MB, free: 2.113 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.008201, allocations: 91.66 kB / 256.8 MB, free: 2.023 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.008357, allocations: 159.6 kB / 257 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.008752, allocations: 330.8 kB / 257.3 MB, free: 1.539 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.008755, allocations: 0 / 257.3 MB, free: 1.539 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.008755, allocations: 0 / 257.3 MB, free: 1.539 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.008762, allocations: 0 / 257.3 MB, free: 1.539 MB / 234.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.001062/0.009823, allocations: 0.7489 MB / 258.1 MB, free: 0.75 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.009873, allocations: 8.031 kB / 258.1 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.01001, allocations: 72.66 kB / 258.2 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.01038, allocations: 264.4 kB / 258.4 MB, free: 396 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.01041, allocations: 28.95 kB / 258.4 MB, free: 368 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.01046, allocations: 36.31 kB / 258.5 MB, free: 332 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.01103, allocations: 376.5 kB / 258.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.01104, allocations: 192 / 258.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.01108, allocations: 12.38 kB / 258.9 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.01109, allocations: 11.94 kB / 258.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.01142, allocations: 139.8 kB / 259 MB, free: 15.75 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.01317, allocations: 1.389 MB / 260.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.01348, allocations: 166.9 kB / 260.6 MB, free: 14.1 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.0136, allocations: 67.64 kB / 260.6 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.01363, allocations: 4 kB / 260.6 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.01365, allocations: 33.39 kB / 260.7 MB, free: 13.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 2.043e-06/0.01366, allocations: 0 / 260.7 MB, free: 13.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.001014/0.01467, allocations: 368.6 kB / 261 MB, free: 13.6 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.0147, allocations: 55.34 kB / 261.1 MB, free: 13.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.01501, allocations: 338.2 kB / 261.4 MB, free: 13.18 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.01504, allocations: 29.7 kB / 261.4 MB, free: 13.15 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.0152, allocations: 259.1 kB / 261.7 MB, free: 12.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/0.01527, allocations: 87.31 kB / 261.8 MB, free: 12.8 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.01536, allocations: 51.36 kB / 261.8 MB, free: 12.74 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.01557, allocations: 0.504 MB / 262.3 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.01569, allocations: 35.97 kB / 262.4 MB, free: 12.19 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.01582, allocations: 94.41 kB / 262.5 MB, free: 12.08 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.01605, allocations: 134.2 kB / 262.6 MB, free: 11.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.01606, allocations: 4 kB / 262.6 MB, free: 11.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004989/0.01656, allocations: 276.2 kB / 262.9 MB, free: 11.63 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.01657, allocations: 4 kB / 262.9 MB, free: 11.63 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01658, allocations: 0 / 262.9 MB, free: 11.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.01692, allocations: 103 kB / 263 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.01705, allocations: 35.92 kB / 263 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/0.0207, allocations: 6.178 MB / 269.2 MB, free: 4.941 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.02083, allocations: 28 kB / 269.2 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.02086, allocations: 16 kB / 269.2 MB, free: 4.898 MB / 250.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.0001285/0.02099, allocations: 164.6 kB / 269.4 MB, free: 4.727 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.02105, allocations: 47.7 kB / 269.4 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.0211, allocations: 38.47 kB / 269.5 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.02111, allocations: 4 kB / 269.5 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.02111, allocations: 0 / 269.5 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.02111, allocations: 3.984 kB / 269.5 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.02143, allocations: 256.4 kB / 269.7 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.02143, allocations: 3.984 kB / 269.7 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.982e-05/0.0215, allocations: 15.94 kB / 269.7 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.02176, allocations: 107 kB / 269.8 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.02178, allocations: 4 kB / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003338/0.02512, allocations: 6.17 MB / 276 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.02512, allocations: 0 / 276 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.02547, allocations: 391.2 kB / 276.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.02554, allocations: 55.7 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.02556, allocations: 0 / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.02567, allocations: 19.98 kB / 276.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.02574, allocations: 27.95 kB / 276.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.02575, allocations: 11.92 kB / 276.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.02587, allocations: 223 kB / 276.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02587, allocations: 4.031 kB / 276.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004162/0.02629, allocations: 119.8 kB / 276.9 MB, free: 12.81 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.952e-05/0.02639, allocations: 99.25 kB / 276.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005688/0.02696, allocations: 0.6606 MB / 277.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.02696, allocations: 128 / 277.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.02725, allocations: 0.6064 MB / 278.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.02752, allocations: 56.75 kB / 278.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.02857, allocations: 0.6074 MB / 278.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.02878, allocations: 108.5 kB / 279 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.398e-05/0.02884, allocations: 22.28 kB / 279 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.02888, allocations: 20.5 kB / 279 MB, free: 10.46 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02888, allocations: 0 / 279 MB, free: 10.46 MB / 266.7 MB Notification: Performance of Templates: time 0.00689/0.03577, allocations: 5.009 MB / 284 MB, free: 5.48 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 240] 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","",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.8412906508892775]