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.001204/0.001204, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006245/0.006245, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8318/0.8318, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.393e-06/1.393e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.269e-05, allocations: 2.281 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.002866/0.002889, allocations: 3.225 MB / 329.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.004125, allocations: 0.8217 MB / 329.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.004291, allocations: 15.94 kB / 329.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.004485, allocations: 67.34 kB / 330 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.004683, allocations: 142.6 kB / 330.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.005116, allocations: 135.8 kB / 330.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.005543, allocations: 0.5363 MB / 330.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.005714, allocations: 87.64 kB / 330.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.006038, allocations: 291.4 kB / 331.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.006201, allocations: 151.6 kB / 331.3 MB, free: 9.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.006244, allocations: 40 kB / 331.3 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.222e-05/0.006337, allocations: 44 kB / 331.4 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.006391, allocations: 95.58 kB / 331.5 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.741e-05/0.006489, allocations: 151.6 kB / 331.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.006883, allocations: 0.5023 MB / 332.1 MB, free: 9.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006885, allocations: 3.938 kB / 332.1 MB, free: 9.074 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006886, allocations: 4 kB / 332.1 MB, free: 9.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.006892, allocations: 0 / 332.1 MB, free: 9.07 MB / 298.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.0007659/0.007658, allocations: 0.6676 MB / 332.8 MB, free: 8.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.007696, allocations: 8.031 kB / 332.8 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.007898, allocations: 80.58 kB / 332.9 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.008207, allocations: 261.6 kB / 333.1 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.008227, allocations: 25.03 kB / 333.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.008256, allocations: 32.38 kB / 333.2 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.008698, allocations: 436.4 kB / 333.6 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.008708, allocations: 192 / 333.6 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.00873, allocations: 12.38 kB / 333.6 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.00874, allocations: 11.94 kB / 333.6 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.009068, allocations: 266.4 kB / 333.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.0102, allocations: 1.23 MB / 335.1 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.01046, allocations: 203.4 kB / 335.3 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.01058, allocations: 100.8 kB / 335.4 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.0106, allocations: 4 kB / 335.4 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.01062, allocations: 34.56 kB / 335.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.142e-06/0.01062, allocations: 4 kB / 335.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008024/0.01142, allocations: 474.9 kB / 335.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.01145, allocations: 59.34 kB / 336 MB, free: 4.988 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.01165, allocations: 300.4 kB / 336.3 MB, free: 4.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.01167, allocations: 37.7 kB / 336.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.726e-05/0.01176, allocations: 216.4 kB / 336.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.0118, allocations: 67.39 kB / 336.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.01186, allocations: 49.66 kB / 336.7 MB, free: 4.305 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.01194, allocations: 338.8 kB / 337 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.01205, allocations: 83.95 kB / 337.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.01218, allocations: 120.2 kB / 337.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.01242, allocations: 212 kB / 337.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01243, allocations: 0 / 337.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004076/0.01283, allocations: 347.7 kB / 337.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01285, allocations: 7.938 kB / 337.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01285, allocations: 4 kB / 337.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.0131, allocations: 114.5 kB / 337.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/0.0132, allocations: 35.97 kB / 337.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.01549, allocations: 4.576 MB / 342.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.19e-05/0.01558, allocations: 27.81 kB / 342.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.01559, allocations: 4 kB / 342.5 MB, free: 14.08 MB / 314.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.0001123/0.0157, allocations: 153.9 kB / 342.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.01574, allocations: 35.88 kB / 342.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.01577, allocations: 39.17 kB / 342.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01577, allocations: 4 kB / 342.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01577, allocations: 0 / 342.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01577, allocations: 3.984 kB / 342.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.01599, allocations: 268.9 kB / 343 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01599, allocations: 0 / 343 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-05/0.01605, allocations: 19.98 kB / 343 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/0.01623, allocations: 118.6 kB / 343.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01624, allocations: 4.281 kB / 343.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.01834, allocations: 4.574 MB / 347.7 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01834, allocations: 0 / 347.7 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.01869, allocations: 389.6 kB / 348.1 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.01876, allocations: 51.72 kB / 348.1 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.01878, allocations: 11.98 kB / 348.1 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.01888, allocations: 19.98 kB / 348.2 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.01894, allocations: 23.95 kB / 348.2 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.01895, allocations: 12 kB / 348.2 MB, free: 8.008 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.01909, allocations: 215.1 kB / 348.4 MB, free: 7.801 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01909, allocations: 0 / 348.4 MB, free: 7.801 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004135/0.0195, allocations: 111.8 kB / 348.5 MB, free: 7.691 MB / 314.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.495e-05/0.01959, allocations: 110.9 kB / 348.6 MB, free: 7.574 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005361/0.02013, allocations: 0.5763 MB / 349.2 MB, free: 6.961 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.02013, allocations: 0 / 349.2 MB, free: 6.961 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.02041, allocations: 467.9 kB / 349.7 MB, free: 6.465 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.02067, allocations: 51.92 kB / 349.7 MB, free: 6.418 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007564/0.02143, allocations: 0.6301 MB / 350.3 MB, free: 5.754 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.02155, allocations: 198.7 kB / 350.5 MB, free: 5.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.0216, allocations: 20.5 kB / 350.6 MB, free: 5.516 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.0216, allocations: 0 / 350.6 MB, free: 5.516 MB / 314.7 MB Notification: Performance of Templates: time 0.006657/0.02825, allocations: 8.462 MB / 359 MB, free: 13.06 MB / 330.7 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.558286617510021]