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.001687/0.001687, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002058/0.002058, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.606/1.606, allocations: 230.3 MB / 258 MB, free: 8.262 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.001983/0.001983, allocations: 67.89 kB / 378.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3177, allocations: 53.36 MB / 432.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005427/0.3232, allocations: 3.547 MB / 435.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.3252, allocations: 0.8588 MB / 436.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.3255, allocations: 7.938 kB / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.3257, allocations: 75.28 kB / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.326, allocations: 130.8 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.3265, allocations: 131.8 kB / 436.9 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006253/0.3271, allocations: 0.521 MB / 437.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.3273, allocations: 95.69 kB / 437.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/0.3277, allocations: 199.3 kB / 437.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.328, allocations: 207 kB / 437.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.928e-05/0.328, allocations: 40 kB / 437.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3282, allocations: 44 kB / 438 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.909e-05/0.3282, allocations: 91.67 kB / 438 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.3285, allocations: 230.8 kB / 438.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006346/0.3291, allocations: 0.4976 MB / 438.8 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3291, allocations: 0 / 438.8 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.3291, allocations: 4 kB / 438.8 MB, free: 404 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.3291, allocations: 0 / 438.8 MB, free: 404 kB / 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.001287/0.3304, allocations: 0.6606 MB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.3305, allocations: 8.031 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/0.3309, allocations: 80.58 kB / 439.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006357/0.3315, allocations: 266.3 kB / 439.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.3315, allocations: 25.03 kB / 439.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.3316, allocations: 32.38 kB / 439.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007768/0.3324, allocations: 359 kB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3324, allocations: 0 / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.3324, allocations: 16 kB / 440.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.3325, allocations: 8 kB / 440.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005879/0.333, allocations: 270.4 kB / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.3352, allocations: 1.376 MB / 441.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.3357, allocations: 201.5 kB / 442 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.3359, allocations: 97.16 kB / 442.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.3359, allocations: 7.984 kB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.3359, allocations: 46.42 kB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.3359, allocations: 0 / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.00153/0.3375, allocations: 483.5 kB / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.3375, allocations: 51.41 kB / 442.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.3379, allocations: 312.6 kB / 443 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.338, allocations: 29.7 kB / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.3382, allocations: 220.4 kB / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.3383, allocations: 75.33 kB / 443.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3384, allocations: 49.66 kB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.3386, allocations: 346.8 kB / 443.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.3388, allocations: 79.97 kB / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.339, allocations: 128.9 kB / 443.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.3395, allocations: 196.1 kB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3395, allocations: 4 kB / 444.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009174/0.3404, allocations: 355.7 kB / 444.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.3404, allocations: 8 kB / 444.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3404, allocations: 0 / 444.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/0.3409, allocations: 118.5 kB / 444.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.341, allocations: 31.92 kB / 444.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004594/0.3456, allocations: 4.668 MB / 449.3 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.3459, allocations: 27.91 kB / 449.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.3459, allocations: 4 kB / 449.3 MB, free: 5.191 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.0002282/0.3462, allocations: 149.8 kB / 449.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.3462, allocations: 39.75 kB / 449.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.3463, allocations: 35.27 kB / 449.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3463, allocations: 0 / 449.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3463, allocations: 0 / 449.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3463, allocations: 0 / 449.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.3468, allocations: 360.3 kB / 449.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3468, allocations: 4 kB / 449.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.3469, allocations: 19.92 kB / 449.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003509/0.3472, allocations: 118.6 kB / 450 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3473, allocations: 0 / 450 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.3515, allocations: 4.662 MB / 454.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3515, allocations: 3.938 kB / 454.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007494/0.3522, allocations: 402.5 kB / 455.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.3524, allocations: 51.72 kB / 455.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.3524, allocations: 8 kB / 455.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.3527, allocations: 19.98 kB / 455.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3528, allocations: 31.89 kB / 455.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.3528, allocations: 7.938 kB / 455.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002811/0.3531, allocations: 223.1 kB / 455.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3531, allocations: 0 / 455.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007365/0.3538, allocations: 115.8 kB / 455.5 MB, free: 14.55 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.0001743/0.354, allocations: 107.2 kB / 455.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.355, allocations: 0.5667 MB / 456.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.355, allocations: 3.938 kB / 456.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000587/0.3556, allocations: 476 kB / 456.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.3561, allocations: 65.52 kB / 456.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.3574, allocations: 0.6277 MB / 457.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.3579, allocations: 0.7992 MB / 458.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.358, allocations: 26.97 kB / 458.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.358, allocations: 19.44 kB / 458.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.358, allocations: 0 / 458.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of Templates: time 0.01193/0.37, allocations: 5.692 MB / 463.9 MB, free: 6.09 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.0709632728248835]