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.0008941/0.0008941, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005102/0.005102, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 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 0.927/0.927, allocations: 177 MB / 204.8 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.673e-06/1.673e-06, allocations: 0 / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.701e-05, allocations: 2.281 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.002948/0.002975, allocations: 3.211 MB / 329 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.003987, allocations: 0.8218 MB / 329.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.004114, allocations: 15.88 kB / 329.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.004257, allocations: 67.3 kB / 329.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.004414, allocations: 146.6 kB / 330.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.004727, allocations: 135.8 kB / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.005101, allocations: 0.544 MB / 330.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.005277, allocations: 87.59 kB / 330.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.005564, allocations: 295.4 kB / 331.1 MB, free: 9.988 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.005708, allocations: 155.5 kB / 331.3 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.005754, allocations: 44 kB / 331.3 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.602e-05/0.00582, allocations: 40 kB / 331.3 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.005867, allocations: 95.59 kB / 331.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.56e-05/0.005963, allocations: 151.7 kB / 331.6 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003949/0.006358, allocations: 0.51 MB / 332.1 MB, free: 9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.006362, allocations: 0 / 332.1 MB, free: 9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006363, allocations: 0 / 332.1 MB, free: 9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.006369, allocations: 0 / 332.1 MB, free: 9 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.0007474/0.007116, allocations: 0.6606 MB / 332.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.00716, allocations: 8.031 kB / 332.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.007373, allocations: 80.56 kB / 332.8 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.007828, allocations: 269.6 kB / 333.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.007854, allocations: 21.03 kB / 333.1 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.007895, allocations: 32.38 kB / 333.1 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.008486, allocations: 428.4 kB / 333.6 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.008499, allocations: 192 / 333.6 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.008532, allocations: 16.38 kB / 333.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.008548, allocations: 11.94 kB / 333.6 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.009018, allocations: 274.4 kB / 333.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.01031, allocations: 1.238 MB / 335.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.0106, allocations: 202.4 kB / 335.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.01072, allocations: 100.8 kB / 335.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.01074, allocations: 0 / 335.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.01077, allocations: 38.56 kB / 335.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.072e-06/0.01077, allocations: 0 / 335.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008232/0.01159, allocations: 472.8 kB / 335.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.01162, allocations: 55.34 kB / 336 MB, free: 4.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.01184, allocations: 308.4 kB / 336.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.01186, allocations: 33.7 kB / 336.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.01196, allocations: 212.4 kB / 336.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.012, allocations: 79.31 kB / 336.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.01206, allocations: 49.66 kB / 336.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.01215, allocations: 342.8 kB / 337 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.01226, allocations: 75.97 kB / 337 MB, free: 3.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.01239, allocations: 124.2 kB / 337.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.01264, allocations: 196.1 kB / 337.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01264, allocations: 0 / 337.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004138/0.01305, allocations: 359.7 kB / 337.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01307, allocations: 4 kB / 337.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01308, allocations: 0 / 337.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/0.01334, allocations: 114.5 kB / 337.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.01344, allocations: 31.97 kB / 337.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.01589, allocations: 4.573 MB / 342.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.016, allocations: 27.86 kB / 342.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.01601, allocations: 8 kB / 342.4 MB, free: 14.02 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.0001261/0.01613, allocations: 154 kB / 342.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.01617, allocations: 35.77 kB / 342.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.0162, allocations: 39.17 kB / 342.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01621, allocations: 4 kB / 342.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.01621, allocations: 0 / 342.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01621, allocations: 0 / 342.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.01643, allocations: 261 kB / 342.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.01643, allocations: 4 kB / 342.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.01648, allocations: 15.98 kB / 342.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.01668, allocations: 126.4 kB / 343.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.01669, allocations: 7.984 kB / 343.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.01883, allocations: 4.573 MB / 347.7 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01883, allocations: 4.031 kB / 347.7 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.01919, allocations: 393.6 kB / 348 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.756e-05/0.01927, allocations: 55.7 kB / 348.1 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.01929, allocations: 0 / 348.1 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.01939, allocations: 24.11 kB / 348.1 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.01946, allocations: 23.95 kB / 348.1 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.01947, allocations: 15.94 kB / 348.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.01961, allocations: 207.1 kB / 348.4 MB, free: 7.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01961, allocations: 0 / 348.4 MB, free: 7.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004475/0.02006, allocations: 124 kB / 348.5 MB, free: 7.609 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.968e-05/0.02016, allocations: 103.2 kB / 348.6 MB, free: 7.496 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005422/0.0207, allocations: 0.566 MB / 349.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.0207, allocations: 0 / 349.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.02098, allocations: 475.9 kB / 349.6 MB, free: 6.387 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.02124, allocations: 45.14 kB / 349.7 MB, free: 6.344 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000805/0.02205, allocations: 0.6419 MB / 350.3 MB, free: 5.672 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.02216, allocations: 190.8 kB / 350.5 MB, free: 5.465 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.02221, allocations: 24.48 kB / 350.5 MB, free: 5.441 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02221, allocations: 0 / 350.5 MB, free: 5.441 MB / 314.7 MB Notification: Performance of Templates: time 0.006425/0.02863, allocations: 8.462 MB / 359 MB, free: 12.99 MB / 330.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.9336788430809975]