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.001389/0.001389, allocations: 84.23 kB / 20.68 MB, free: 1.023 MB / 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.001418/0.001418, allocations: 163.4 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.475/1.475, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.723e-06/1.723e-06, allocations: 0 / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.834e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004538/0.004566, allocations: 3.225 MB / 328.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.006404, allocations: 0.8197 MB / 329.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.006618, allocations: 9.438 kB / 329.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.006821, allocations: 67.66 kB / 329.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.007113, allocations: 148.2 kB / 329.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.007531, allocations: 130.6 kB / 329.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006248/0.008156, allocations: 0.5322 MB / 330 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.008387, allocations: 93.11 kB / 330.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004399/0.008827, allocations: 294.9 kB / 330.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.009077, allocations: 153.8 kB / 330.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.551e-05/0.009142, allocations: 38.31 kB / 330.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.009254, allocations: 46.64 kB / 330.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.767e-05/0.009352, allocations: 94.22 kB / 330.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.009553, allocations: 151.8 kB / 330.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.01015, allocations: 0.506 MB / 331.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.01015, allocations: 0 / 331.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01015, allocations: 3.938 kB / 331.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.01016, allocations: 0 / 331.4 MB, free: 12.56 MB / 302.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.001192/0.01136, allocations: 0.6581 MB / 332 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.01139, allocations: 9.562 kB / 332 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.01176, allocations: 86.16 kB / 332.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.01221, allocations: 263.4 kB / 332.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.01224, allocations: 21.69 kB / 332.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.0123, allocations: 33.34 kB / 332.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007099/0.01301, allocations: 431.3 kB / 332.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.01302, allocations: 1.312 kB / 332.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.01306, allocations: 19.72 kB / 332.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.01307, allocations: 11.5 kB / 332.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/0.01364, allocations: 267.9 kB / 333.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.01555, allocations: 1.228 MB / 334.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.01599, allocations: 203.9 kB / 334.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.01622, allocations: 98.36 kB / 334.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.01625, allocations: 10.7 kB / 334.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.0163, allocations: 31.84 kB / 334.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 2.134e-06/0.0163, allocations: 0.9688 kB / 334.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001658/0.01796, allocations: 477.6 kB / 335.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.01801, allocations: 54.09 kB / 335.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.01843, allocations: 303.1 kB / 335.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.01847, allocations: 31.89 kB / 335.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.01863, allocations: 212.4 kB / 335.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.01871, allocations: 73.52 kB / 335.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.594e-05/0.0188, allocations: 50.34 kB / 335.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.01896, allocations: 344.9 kB / 336.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.01915, allocations: 79.09 kB / 336.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.01938, allocations: 126.9 kB / 336.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.01978, allocations: 202.7 kB / 336.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01978, allocations: 1.438 kB / 336.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007458/0.02053, allocations: 348.8 kB / 337 MB, free: 8.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.02055, allocations: 9.031 kB / 337 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.02055, allocations: 1.281 kB / 337 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004372/0.02099, allocations: 122.8 kB / 337.1 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.02117, allocations: 30.41 kB / 337.1 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004239/0.0254, allocations: 4.583 MB / 341.7 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.02566, allocations: 24.7 kB / 341.7 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.02568, allocations: 5.812 kB / 341.7 MB, free: 3.766 MB / 302.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.0002116/0.02589, allocations: 152.6 kB / 341.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.02596, allocations: 35.98 kB / 341.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.815e-05/0.02604, allocations: 37.92 kB / 342 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.02604, allocations: 3.344 kB / 342 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.02605, allocations: 0 / 342 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.02605, allocations: 5.188 kB / 342 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.02642, allocations: 273.8 kB / 342.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.02643, allocations: 0 / 342.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.02656, allocations: 19.98 kB / 342.3 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000339/0.0269, allocations: 106.5 kB / 342.4 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.02692, allocations: 7.984 kB / 342.4 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003915/0.03084, allocations: 4.566 MB / 346.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.03084, allocations: 0 / 346.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007455/0.03159, allocations: 408.8 kB / 347.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.03172, allocations: 55.84 kB / 347.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.03176, allocations: 8 kB / 347.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.032, allocations: 19.98 kB / 347.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.03213, allocations: 27.95 kB / 347.4 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.03215, allocations: 7.938 kB / 347.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002947/0.03245, allocations: 207.1 kB / 347.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.03245, allocations: 4 kB / 347.7 MB, free: 13.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008623/0.03331, allocations: 119.8 kB / 347.8 MB, free: 13.47 MB / 318.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.0002203/0.03353, allocations: 107.2 kB / 347.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.03467, allocations: 0.5621 MB / 348.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.03467, allocations: 8.125 kB / 348.4 MB, free: 12.74 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.03522, allocations: 463.9 kB / 348.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.03564, allocations: 45.14 kB / 348.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.03683, allocations: 0.606 MB / 349.5 MB, free: 11.58 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.03702, allocations: 194.8 kB / 349.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.643e-05/0.03712, allocations: 30.22 kB / 349.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.03718, allocations: 24.48 kB / 349.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.03718, allocations: 0 / 349.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of Templates: time 0.01077/0.04795, allocations: 4.903 MB / 354.7 MB, free: 6.484 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.505695268511772]