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.002271/0.002271, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002545/0.002545, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.612/1.612, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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 2.314e-06/2.314e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.841e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005378/0.005406, allocations: 3.446 MB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.007157, allocations: 0.8411 MB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.007335, allocations: 7.938 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.007547, allocations: 71.3 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.007833, allocations: 146.6 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.008264, allocations: 135.8 kB / 276.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006578/0.008922, allocations: 0.5325 MB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.00914, allocations: 91.64 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004596/0.0096, allocations: 303.2 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.009861, allocations: 155.6 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.231e-05/0.009934, allocations: 36 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.01005, allocations: 51.94 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.01016, allocations: 95.64 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.01036, allocations: 151.6 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006704/0.01103, allocations: 0.5062 MB / 278.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.01104, allocations: 0 / 278.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01104, allocations: 3.938 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.01104, allocations: 0 / 278.8 MB, free: 11.21 MB / 266.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.001339/0.01238, allocations: 0.7797 MB / 279.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.01243, allocations: 8.031 kB / 279.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003891/0.01282, allocations: 104.6 kB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.01329, allocations: 272.4 kB / 279.9 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.01332, allocations: 25.03 kB / 279.9 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.01337, allocations: 32.38 kB / 280 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.01412, allocations: 447.7 kB / 280.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.01413, allocations: 192 / 280.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.01417, allocations: 16.36 kB / 280.4 MB, free: 9.441 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.01418, allocations: 11.94 kB / 280.4 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005476/0.01473, allocations: 246.5 kB / 280.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.01713, allocations: 1.514 MB / 282.2 MB, free: 7.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.01759, allocations: 202.9 kB / 282.4 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.0178, allocations: 95.59 kB / 282.5 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.01784, allocations: 7.984 kB / 282.5 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.01787, allocations: 41.39 kB / 282.5 MB, free: 7.219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.242e-06/0.01788, allocations: 0 / 282.5 MB, free: 7.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001529/0.0194, allocations: 486.8 kB / 283 MB, free: 6.727 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.01946, allocations: 55.41 kB / 283.1 MB, free: 6.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.01994, allocations: 402.2 kB / 283.5 MB, free: 6.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.01997, allocations: 29.7 kB / 283.5 MB, free: 6.211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.0202, allocations: 279 kB / 283.8 MB, free: 5.934 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.067e-05/0.02028, allocations: 79.33 kB / 283.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.02039, allocations: 63.31 kB / 283.9 MB, free: 5.785 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002997/0.02069, allocations: 0.5235 MB / 284.4 MB, free: 5.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.02088, allocations: 67.97 kB / 284.5 MB, free: 5.184 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.02113, allocations: 138.4 kB / 284.6 MB, free: 5.027 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.02154, allocations: 202.3 kB / 284.8 MB, free: 4.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02154, allocations: 0 / 284.8 MB, free: 4.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007894/0.02233, allocations: 364.3 kB / 285.2 MB, free: 4.434 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.02235, allocations: 8 kB / 285.2 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.02236, allocations: 3.938 kB / 285.2 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004636/0.02282, allocations: 123 kB / 285.3 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.023, allocations: 27.98 kB / 285.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005935/0.02893, allocations: 6.417 MB / 291.7 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.02918, allocations: 31.84 kB / 291.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.0292, allocations: 12 kB / 291.8 MB, free: 13.44 MB / 282.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.0002484/0.02945, allocations: 188.6 kB / 292 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/0.02954, allocations: 47.77 kB / 292 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.304e-05/0.02961, allocations: 31.17 kB / 292.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.02962, allocations: 4 kB / 292.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.02962, allocations: 0 / 292.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.02963, allocations: 3.984 kB / 292.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.03012, allocations: 324.4 kB / 292.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.03013, allocations: 4 kB / 292.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.03024, allocations: 23.92 kB / 292.4 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003747/0.03061, allocations: 119 kB / 292.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.03064, allocations: 8 kB / 292.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005673/0.03631, allocations: 6.413 MB / 298.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.03631, allocations: 0 / 298.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007515/0.03706, allocations: 460.1 kB / 299.4 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.03719, allocations: 47.81 kB / 299.4 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.03723, allocations: 7.984 kB / 299.4 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.03745, allocations: 24.05 kB / 299.5 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.352e-05/0.03754, allocations: 27.95 kB / 299.5 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.03756, allocations: 11.92 kB / 299.5 MB, free: 5.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003023/0.03787, allocations: 263 kB / 299.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03787, allocations: 0 / 299.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006798/0.03855, allocations: 119.8 kB / 299.9 MB, free: 4.898 MB / 282.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 0.0001636/0.03871, allocations: 107.2 kB / 300 MB, free: 4.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.03986, allocations: 0.7342 MB / 300.7 MB, free: 3.992 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.03986, allocations: 0 / 300.7 MB, free: 3.992 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.04061, allocations: 0.6496 MB / 301.4 MB, free: 3.285 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.04102, allocations: 49.12 kB / 301.4 MB, free: 3.234 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.04236, allocations: 0.6455 MB / 302.1 MB, free: 2.562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.0426, allocations: 190.5 kB / 302.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.0427, allocations: 26.28 kB / 302.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.04278, allocations: 24.48 kB / 302.3 MB, free: 2.309 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.04278, allocations: 0 / 302.3 MB, free: 2.309 MB / 282.7 MB Notification: Performance of Templates: time 0.1266/0.1693, allocations: 4.997 MB / 307.3 MB, free: 40.25 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 240] 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.827388706966303]