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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001686/0.001686, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002021/0.002021, allocations: 216.5 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.65/1.65, allocations: 230.4 MB / 258.1 MB, free: 8.164 MB / 206.1 MB " [Timeout remaining time 178] 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=5012,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=5012,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] "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.002011/0.002011, allocations: 63.91 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3517, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.006212/0.3579, allocations: 3.537 MB / 435.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.3603, allocations: 0.8545 MB / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004232/0.3607, allocations: 4 kB / 436.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.361, allocations: 79.28 kB / 436.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.3613, allocations: 130.8 kB / 436.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.3618, allocations: 135.8 kB / 436.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000638/0.3625, allocations: 0.5016 MB / 437.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.3627, allocations: 95.3 kB / 437.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.3631, allocations: 203.2 kB / 437.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.3634, allocations: 203.1 kB / 437.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.3635, allocations: 40 kB / 437.8 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3636, allocations: 44 kB / 437.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.947e-05/0.3637, allocations: 91.62 kB / 438 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.364, allocations: 222.9 kB / 438.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006906/0.3646, allocations: 0.5056 MB / 438.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3646, allocations: 4 kB / 438.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3646, allocations: 0 / 438.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.3647, allocations: 0 / 438.7 MB, free: 0.7188 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.001454/0.3661, allocations: 0.7282 MB / 439.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.3662, allocations: 12.03 kB / 439.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004326/0.3666, allocations: 88.44 kB / 439.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.3672, allocations: 323.5 kB / 439.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.3672, allocations: 25.03 kB / 439.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.3673, allocations: 32.38 kB / 439.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.368, allocations: 359.1 kB / 440.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.368, allocations: 0 / 440.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.368, allocations: 12 kB / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.368, allocations: 8 kB / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005922/0.3686, allocations: 278.4 kB / 440.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.371, allocations: 1.419 MB / 441.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.3715, allocations: 202.4 kB / 442.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.3717, allocations: 101.2 kB / 442.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.3718, allocations: 4 kB / 442.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.3718, allocations: 38.42 kB / 442.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.194e-06/0.3718, allocations: 3.938 kB / 442.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001719/0.3735, allocations: 0.697 MB / 443 MB, free: 12.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.3736, allocations: 59.41 kB / 443 MB, free: 12.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.374, allocations: 308.6 kB / 443.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.374, allocations: 33.64 kB / 443.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.3742, allocations: 208.5 kB / 443.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.3743, allocations: 91.25 kB / 443.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3744, allocations: 53.66 kB / 443.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3746, allocations: 338.8 kB / 444 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.3748, allocations: 79.95 kB / 444.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.375, allocations: 128.7 kB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.3754, allocations: 196.1 kB / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3754, allocations: 3.938 kB / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008087/0.3762, allocations: 347.7 kB / 444.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3763, allocations: 8.062 kB / 444.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3763, allocations: 4 kB / 444.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004715/0.3767, allocations: 118.4 kB / 444.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.3769, allocations: 27.97 kB / 444.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005003/0.3819, allocations: 4.984 MB / 449.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.3823, allocations: 27.78 kB / 449.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.3823, allocations: 8.062 kB / 450 MB, free: 4.633 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.000315/0.3826, allocations: 157.7 kB / 450.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.666e-05/0.3827, allocations: 39.75 kB / 450.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.323e-05/0.3828, allocations: 35.17 kB / 450.2 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3828, allocations: 0 / 450.2 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3828, allocations: 0 / 450.2 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3828, allocations: 4 kB / 450.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.3833, allocations: 377.2 kB / 450.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.3833, allocations: 8 kB / 450.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3835, allocations: 15.98 kB / 450.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003954/0.3839, allocations: 118.4 kB / 450.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.3839, allocations: 0 / 450.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004844/0.3887, allocations: 4.968 MB / 455.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.3887, allocations: 0 / 455.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/0.3895, allocations: 405.7 kB / 456.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.3897, allocations: 128.8 kB / 456.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.3898, allocations: 7.938 kB / 456.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.39, allocations: 23.98 kB / 456.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3901, allocations: 27.95 kB / 456.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.3902, allocations: 11.94 kB / 456.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002746/0.3904, allocations: 219.1 kB / 456.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3904, allocations: 0 / 456.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000769/0.3912, allocations: 115.8 kB / 456.6 MB, free: 13.47 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.0001726/0.3914, allocations: 111.2 kB / 456.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.3925, allocations: 0.5577 MB / 457.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3925, allocations: 0 / 457.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00064/0.3932, allocations: 475.9 kB / 457.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.3936, allocations: 60.72 kB / 457.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.3951, allocations: 0.6481 MB / 458.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.3957, allocations: 0.7953 MB / 459.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.3958, allocations: 30.91 kB / 459.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.3959, allocations: 27.38 kB / 459.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of SimCode: time 1.864e-06/0.3959, allocations: 0 / 459.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of Templates: time 0.01386/0.4098, allocations: 5.641 MB / 464.9 MB, free: 5.059 MB / 366.1 MB " [Timeout remaining time 660] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.323501279577613]