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.005835/0.005835, allocations: 108.3 kB / 21.97 MB, free: 5.184 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.001605/0.001605, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.459/1.459, allocations: 230.6 MB / 259 MB, free: 8.031 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.001999/0.001999, allocations: 67.89 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2774, allocations: 53.37 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004956/0.2824, allocations: 3.539 MB / 436.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.2841, allocations: 0.8568 MB / 437.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.2843, allocations: 8 kB / 437.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.2845, allocations: 67.3 kB / 437.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.2848, allocations: 138.8 kB / 437.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.2852, allocations: 139.8 kB / 437.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005769/0.2857, allocations: 0.5016 MB / 438.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.2859, allocations: 99.69 kB / 438.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.2863, allocations: 203.2 kB / 438.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.2866, allocations: 203.1 kB / 438.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.134e-05/0.2866, allocations: 40 kB / 439 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.2867, allocations: 47.98 kB / 439 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.151e-05/0.2868, allocations: 95.56 kB / 439.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.287, allocations: 218.9 kB / 439.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005822/0.2876, allocations: 0.4965 MB / 439.8 MB, free: 332 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2876, allocations: 0 / 439.8 MB, free: 332 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2876, allocations: 0 / 439.8 MB, free: 332 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.2876, allocations: 0 / 439.8 MB, free: 332 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.001171/0.2888, allocations: 0.6645 MB / 440.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2888, allocations: 12.03 kB / 440.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003604/0.2892, allocations: 80.58 kB / 440.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.2897, allocations: 270.3 kB / 440.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.2897, allocations: 21.03 kB / 440.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.2898, allocations: 32.38 kB / 440.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006685/0.2905, allocations: 355.1 kB / 441.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.2905, allocations: 7.984 kB / 441.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.2905, allocations: 12 kB / 441.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2905, allocations: 8 kB / 441.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005696/0.2911, allocations: 266.4 kB / 441.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.2932, allocations: 1.376 MB / 442.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.2936, allocations: 218.4 kB / 443.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.2938, allocations: 93.22 kB / 443.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.2939, allocations: 4 kB / 443.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.2939, allocations: 38.42 kB / 443.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.833e-06/0.2939, allocations: 0 / 443.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001502/0.2954, allocations: 484.3 kB / 443.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.2955, allocations: 59.34 kB / 443.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.2958, allocations: 312.6 kB / 444.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.2958, allocations: 29.7 kB / 444.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.296, allocations: 220.4 kB / 444.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.63e-05/0.2961, allocations: 75.33 kB / 444.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.68e-05/0.2962, allocations: 57.66 kB / 444.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2963, allocations: 338.8 kB / 444.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.2965, allocations: 75.97 kB / 444.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.2968, allocations: 129 kB / 445 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.2972, allocations: 196.1 kB / 445.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2972, allocations: 4 kB / 445.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007425/0.2979, allocations: 351.7 kB / 445.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2979, allocations: 4 kB / 445.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2979, allocations: 0 / 445.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004549/0.2984, allocations: 122.5 kB / 445.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.2986, allocations: 31.97 kB / 445.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004279/0.3029, allocations: 4.668 MB / 450.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.3031, allocations: 23.88 kB / 450.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.3031, allocations: 8 kB / 450.4 MB, free: 5.113 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.0002149/0.3033, allocations: 157.8 kB / 450.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.3034, allocations: 35.75 kB / 450.6 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/0.3035, allocations: 39.27 kB / 450.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3035, allocations: 4.094 kB / 450.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3035, allocations: 3.984 kB / 450.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3035, allocations: 0 / 450.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.3039, allocations: 352.3 kB / 451 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3039, allocations: 0 / 451 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.304, allocations: 23.92 kB / 451 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/0.3044, allocations: 118.4 kB / 451.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.3044, allocations: 8 kB / 451.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004091/0.3085, allocations: 4.654 MB / 455.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3085, allocations: 3.938 kB / 455.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/0.3092, allocations: 405.4 kB / 456.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.3093, allocations: 55.7 kB / 456.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.3093, allocations: 4 kB / 456.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.3096, allocations: 20.27 kB / 456.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.3096, allocations: 23.95 kB / 456.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3097, allocations: 11.94 kB / 456.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002495/0.3099, allocations: 231 kB / 456.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3099, allocations: 0 / 456.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006844/0.3106, allocations: 115.8 kB / 456.6 MB, free: 14.46 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.0001459/0.3107, allocations: 107.2 kB / 456.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009337/0.3117, allocations: 0.5582 MB / 457.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3117, allocations: 0 / 457.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005616/0.3122, allocations: 479.9 kB / 457.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.3127, allocations: 57.39 kB / 457.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.3139, allocations: 0.6646 MB / 458.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.3143, allocations: 0.7992 MB / 459.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.3144, allocations: 19.44 kB / 459.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3144, allocations: 0 / 459.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Templates: time 0.01154/0.3259, allocations: 8.482 MB / 467.8 MB, free: 3.18 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 -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/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-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: 8.305850525852293]