Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001464/0.001464, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.533/1.533, allocations: 230.4 MB / 251.1 MB, free: 8.441 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.83 kB / 369 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3193, allocations: 53.32 MB / 422.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005139/0.3244, allocations: 3.521 MB / 425.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3261, allocations: 0.849 MB / 426.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.3262, allocations: 11.94 kB / 426.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.3265, allocations: 71.23 kB / 426.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.3267, allocations: 134.8 kB / 426.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.3271, allocations: 139.8 kB / 427 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005889/0.3277, allocations: 0.5016 MB / 427.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.328, allocations: 95.28 kB / 427.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.3283, allocations: 199.3 kB / 427.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.3286, allocations: 211 kB / 428 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.266e-05/0.3286, allocations: 40 kB / 428 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3287, allocations: 44 kB / 428.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.176e-05/0.3288, allocations: 87.62 kB / 428.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.329, allocations: 222.9 kB / 428.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005958/0.3296, allocations: 0.5013 MB / 428.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3296, allocations: 0 / 428.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3296, allocations: 4 kB / 428.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.3296, allocations: 0 / 428.9 MB, free: 1.176 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.001252/0.3309, allocations: 0.7388 MB / 429.6 MB, free: 400 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.3309, allocations: 8.031 kB / 429.6 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/0.3313, allocations: 76.58 kB / 429.7 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.3318, allocations: 327.6 kB / 430 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3318, allocations: 29.03 kB / 430.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.3319, allocations: 32.38 kB / 430.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.3325, allocations: 359 kB / 430.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.3326, allocations: 3.984 kB / 430.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.3326, allocations: 16 kB / 430.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.3326, allocations: 8 kB / 430.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000539/0.3332, allocations: 270.4 kB / 430.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.3352, allocations: 1.419 MB / 432.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.3356, allocations: 206.4 kB / 432.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.3358, allocations: 97.22 kB / 432.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3359, allocations: 0 / 432.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.3359, allocations: 46.41 kB / 432.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.3359, allocations: 4 kB / 432.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001571/0.3375, allocations: 0.6942 MB / 433.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3375, allocations: 55.41 kB / 433.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.3379, allocations: 312.5 kB / 433.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.3379, allocations: 33.7 kB / 433.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.3381, allocations: 212.5 kB / 433.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.457e-05/0.3382, allocations: 79.33 kB / 433.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.3383, allocations: 57.58 kB / 433.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3384, allocations: 338.8 kB / 434.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.3386, allocations: 87.95 kB / 434.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.3388, allocations: 116.2 kB / 434.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.3392, allocations: 204.1 kB / 434.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.3392, allocations: 4 kB / 434.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007257/0.34, allocations: 351.6 kB / 435 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.34, allocations: 8 kB / 435 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.34, allocations: 4.062 kB / 435 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004448/0.3404, allocations: 114.5 kB / 435.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.3406, allocations: 31.92 kB / 435.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004393/0.345, allocations: 4.968 MB / 440.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.3453, allocations: 31.8 kB / 440.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.3453, allocations: 8 kB / 440.2 MB, free: 5.082 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.0002034/0.3455, allocations: 150.1 kB / 440.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/0.3456, allocations: 35.75 kB / 440.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.406e-05/0.3456, allocations: 39.17 kB / 440.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3456, allocations: 8 kB / 440.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3456, allocations: 0 / 440.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3456, allocations: 3.984 kB / 440.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.3461, allocations: 377.2 kB / 440.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3461, allocations: 0 / 440.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.3462, allocations: 31.91 kB / 440.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003747/0.3466, allocations: 110.5 kB / 440.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3466, allocations: 7.938 kB / 440.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004256/0.3509, allocations: 4.975 MB / 445.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3509, allocations: 0 / 445.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/0.3515, allocations: 397.2 kB / 446.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.3517, allocations: 136.8 kB / 446.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.3517, allocations: 0 / 446.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.352, allocations: 20.08 kB / 446.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/0.3521, allocations: 39.89 kB / 446.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3521, allocations: 7.938 kB / 446.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002553/0.3523, allocations: 223.1 kB / 446.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3523, allocations: 0 / 446.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007048/0.353, allocations: 111.8 kB / 446.8 MB, free: 13.92 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.0001605/0.3532, allocations: 107.5 kB / 446.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009875/0.3542, allocations: 0.5621 MB / 447.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3542, allocations: 0 / 447.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.3547, allocations: 476 kB / 447.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.3552, allocations: 53.41 kB / 448 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.3565, allocations: 0.6336 MB / 448.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.3569, allocations: 0.8031 MB / 449.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.357, allocations: 22.97 kB / 449.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.3571, allocations: 19.44 kB / 449.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3571, allocations: 0 / 449.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Templates: time 0.01185/0.3689, allocations: 5.604 MB / 455.1 MB, free: 5.57 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches