Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002271/0.002271, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.572/1.572, allocations: 230.6 MB / 258.2 MB, free: 7.809 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.273, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.00486/0.2779, allocations: 3.232 MB / 435.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.2794, allocations: 0.7985 MB / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.2796, allocations: 15.88 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.2798, allocations: 75.28 kB / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.2801, allocations: 130.8 kB / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.2805, allocations: 135.8 kB / 436.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005856/0.2811, allocations: 0.5133 MB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.2813, allocations: 87.7 kB / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.2816, allocations: 199.3 kB / 437.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.2819, allocations: 187 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.2819, allocations: 40 kB / 437.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.282, allocations: 44 kB / 437.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.2821, allocations: 91.67 kB / 437.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.2823, allocations: 183.1 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005381/0.2828, allocations: 0.5015 MB / 438.5 MB, free: 500 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2828, allocations: 4 kB / 438.5 MB, free: 496 kB / 334.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2828, allocations: 0 / 438.5 MB, free: 496 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2829, allocations: 0 / 438.5 MB, free: 496 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.001135/0.284, allocations: 0.6672 MB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.284, allocations: 8.031 kB / 439.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.2844, allocations: 76.58 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.2848, allocations: 270.2 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.2849, allocations: 25.03 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.2849, allocations: 28.38 kB / 439.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006992/0.2856, allocations: 444.1 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2856, allocations: 0 / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.2857, allocations: 12 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.2857, allocations: 8 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/0.2862, allocations: 266.4 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.2882, allocations: 1.24 MB / 441.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.2886, allocations: 198.5 kB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.2888, allocations: 97.22 kB / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.2888, allocations: 0 / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.2889, allocations: 42.42 kB / 441.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.2889, allocations: 0 / 441.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001486/0.2904, allocations: 485.2 kB / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.2904, allocations: 55.39 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.2908, allocations: 296.5 kB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.2908, allocations: 29.7 kB / 442.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.291, allocations: 216.4 kB / 443 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/0.291, allocations: 91.2 kB / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.2911, allocations: 45.7 kB / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.2913, allocations: 338.8 kB / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.2915, allocations: 79.95 kB / 443.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.2917, allocations: 125 kB / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.2922, allocations: 204.1 kB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2922, allocations: 0 / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007582/0.2929, allocations: 355.6 kB / 444.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.293, allocations: 4 kB / 444.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.293, allocations: 4 kB / 444.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00043/0.2934, allocations: 118.6 kB / 444.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.2936, allocations: 35.91 kB / 444.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004396/0.298, allocations: 4.58 MB / 448.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.2982, allocations: 27.83 kB / 448.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.2982, allocations: 7.938 kB / 448.9 MB, free: 5.477 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.0001808/0.2984, allocations: 144.1 kB / 449.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.2985, allocations: 31.81 kB / 449.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.531e-05/0.2985, allocations: 39.17 kB / 449.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2985, allocations: 12 kB / 449.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.2985, allocations: 128 / 449.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2985, allocations: 7.984 kB / 449.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.2989, allocations: 257.1 kB / 449.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2989, allocations: 4 kB / 449.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.299, allocations: 23.92 kB / 449.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003269/0.2994, allocations: 110.5 kB / 449.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.2994, allocations: 4 kB / 449.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004084/0.3035, allocations: 4.581 MB / 454.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3035, allocations: 4.188 kB / 454.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.3041, allocations: 389.4 kB / 454.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.3043, allocations: 55.7 kB / 454.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.3043, allocations: 4 kB / 454.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.3045, allocations: 23.92 kB / 454.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.3046, allocations: 27.89 kB / 454.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3046, allocations: 8 kB / 454.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.3048, allocations: 215.1 kB / 454.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3048, allocations: 0 / 454.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006929/0.3055, allocations: 120 kB / 455 MB, free: 15.08 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.0001252/0.3057, allocations: 103.2 kB / 455.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009489/0.3066, allocations: 0.5621 MB / 455.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.3066, allocations: 4 kB / 455.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.3072, allocations: 471.8 kB / 456.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.3076, allocations: 52.25 kB / 456.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3088, allocations: 0.6669 MB / 456.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.309, allocations: 198.8 kB / 457 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.3091, allocations: 19.44 kB / 457 MB, free: 12.88 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3091, allocations: 0 / 457 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Templates: time 0.01137/0.3205, allocations: 8.463 MB / 465.5 MB, free: 4.418 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.022848364897072]