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.001898/0.001898, allocations: 104.7 kB / 19.8 MB, free: 2.516 MB / 14.72 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.002721/0.002721, allocations: 211.1 kB / 23 MB, free: 5.609 MB / 14.72 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 1.631/1.631, allocations: 230.2 MB / 256.2 MB, free: 8.559 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001996/0.001996, allocations: 63.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4041, allocations: 53.32 MB / 429.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.006244/0.4103, allocations: 3.54 MB / 433.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.4127, allocations: 0.8506 MB / 434.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003815/0.4131, allocations: 15.94 kB / 434.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.4134, allocations: 67.34 kB / 434.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.4138, allocations: 134.8 kB / 434.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.4143, allocations: 135.8 kB / 434.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007626/0.415, allocations: 0.5055 MB / 435 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.4153, allocations: 99.28 kB / 435.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/0.4157, allocations: 203.2 kB / 435.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.416, allocations: 207.1 kB / 435.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.232e-05/0.4161, allocations: 40 kB / 435.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.4162, allocations: 40 kB / 435.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.4163, allocations: 95.56 kB / 435.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.4165, allocations: 218.9 kB / 435.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006811/0.4172, allocations: 0.5015 MB / 436.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4172, allocations: 4 kB / 436.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4172, allocations: 0 / 436.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.4172, allocations: 3.938 kB / 436.4 MB, free: 0.8945 MB / 334.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.001332/0.4186, allocations: 0.7359 MB / 437.2 MB, free: 112 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.4186, allocations: 8.031 kB / 437.2 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/0.419, allocations: 76.58 kB / 437.3 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.4196, allocations: 335.5 kB / 437.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.4196, allocations: 21.03 kB / 437.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.4197, allocations: 40.38 kB / 437.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.4204, allocations: 351.1 kB / 438 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.4204, allocations: 0 / 438 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.4205, allocations: 16 kB / 438 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.4205, allocations: 8 kB / 438 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005719/0.4211, allocations: 274.4 kB / 438.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.4234, allocations: 1.423 MB / 439.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.4238, allocations: 194.4 kB / 439.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.4241, allocations: 105.2 kB / 440 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.4241, allocations: 0 / 440 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.4242, allocations: 50.41 kB / 440 MB, free: 13.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.202e-06/0.4242, allocations: 0 / 440 MB, free: 13.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001715/0.4259, allocations: 0.6935 MB / 440.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.4259, allocations: 63.33 kB / 440.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.4264, allocations: 308.6 kB / 441.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.4264, allocations: 33.7 kB / 441.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.4266, allocations: 216.4 kB / 441.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.077e-05/0.4267, allocations: 79.36 kB / 441.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.4268, allocations: 53.66 kB / 441.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.427, allocations: 338.8 kB / 441.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.4272, allocations: 87.95 kB / 441.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.4275, allocations: 116.2 kB / 442 MB, free: 10.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.4279, allocations: 204.1 kB / 442.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4279, allocations: 4 kB / 442.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008089/0.4287, allocations: 347.7 kB / 442.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.4287, allocations: 12.06 kB / 442.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.4287, allocations: 3.938 kB / 442.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004957/0.4292, allocations: 118.5 kB / 442.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.4294, allocations: 23.98 kB / 442.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005007/0.4344, allocations: 4.976 MB / 447.7 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.4348, allocations: 31.77 kB / 447.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.4348, allocations: 16.06 kB / 447.7 MB, free: 4.793 MB / 350.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.0002824/0.4351, allocations: 145.8 kB / 447.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.4352, allocations: 39.7 kB / 447.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.348e-05/0.4352, allocations: 39.17 kB / 447.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.4352, allocations: 4 kB / 447.9 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4352, allocations: 0 / 447.9 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4352, allocations: 3.984 kB / 447.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006375/0.4359, allocations: 369.3 kB / 448.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.4359, allocations: 11.92 kB / 448.3 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.436, allocations: 19.98 kB / 448.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/0.4364, allocations: 118.6 kB / 448.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.4364, allocations: 4.281 kB / 448.5 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005342/0.4417, allocations: 4.967 MB / 453.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.4418, allocations: 4.031 kB / 453.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009142/0.4427, allocations: 397.7 kB / 453.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.4429, allocations: 136.8 kB / 454 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.4429, allocations: 4 kB / 454 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.4432, allocations: 19.98 kB / 454 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.4434, allocations: 27.97 kB / 454 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.4434, allocations: 8.031 kB / 454 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000344/0.4437, allocations: 223.1 kB / 454.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4437, allocations: 0 / 454.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000924/0.4447, allocations: 115.8 kB / 454.3 MB, free: 13.64 MB / 366.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.0002558/0.4449, allocations: 115.3 kB / 454.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.4463, allocations: 0.5505 MB / 455 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4463, allocations: 0 / 455 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006667/0.447, allocations: 481.1 kB / 455.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.4476, allocations: 53.97 kB / 455.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.4494, allocations: 0.6586 MB / 456.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.4499, allocations: 0.7953 MB / 457 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.45, allocations: 26.97 kB / 457 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.45, allocations: 23.42 kB / 457 MB, free: 10.82 MB / 366.1 MB Notification: Performance of SimCode: time 1.343e-06/0.45, allocations: 0 / 457 MB, free: 10.82 MB / 366.1 MB Notification: Performance of Templates: time 0.01258/0.4626, allocations: 5.618 MB / 462.7 MB, free: 5.254 MB / 366.1 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: 5.45450194645673]