Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009667/0.0009667, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002273, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008608/0.0008608, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001318/0.002179, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9896/0.9896, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08653/1.076, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.58e-05, allocations: 2.875 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.003935/0.003951, allocations: 3.48 MB / 243 MB, free: 15.67 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.005093, allocations: 0.7748 MB / 243.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.005239, allocations: 11.94 kB / 243.8 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.005359, allocations: 71.28 kB / 243.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.005587, allocations: 138.6 kB / 244 MB, free: 14.67 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.005792, allocations: 115.8 kB / 244.1 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.006225, allocations: 0.5169 MB / 244.7 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.006393, allocations: 100.3 kB / 244.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.006745, allocations: 330.4 kB / 245.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.006939, allocations: 155.5 kB / 245.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.006996, allocations: 40 kB / 245.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.193e-05/0.007048, allocations: 40 kB / 245.3 MB, free: 13.37 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.007101, allocations: 63.75 kB / 245.4 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.007227, allocations: 131.8 kB / 245.5 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.007795, allocations: 306.8 kB / 245.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.4e-05/0.007809, allocations: 0 / 245.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.00781, allocations: 0 / 245.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.007829, allocations: 3.984 kB / 245.8 MB, free: 12.88 MB / 250.7 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.0008392/0.008669, allocations: 0.7175 MB / 246.5 MB, free: 12.13 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.0087, allocations: 8.031 kB / 246.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.008781, allocations: 60.83 kB / 246.6 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.00904, allocations: 213.6 kB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.009062, allocations: 25.03 kB / 246.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.0091, allocations: 36.38 kB / 246.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.009454, allocations: 349.1 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.009466, allocations: 192 / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.009489, allocations: 20.38 kB / 247.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.0095, allocations: 11.94 kB / 247.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.009652, allocations: 92.47 kB / 247.3 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.01077, allocations: 1.035 MB / 248.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.01096, allocations: 142.4 kB / 248.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.01102, allocations: 48.83 kB / 248.5 MB, free: 9.973 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.01104, allocations: 4 kB / 248.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.01106, allocations: 42.55 kB / 248.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.01106, allocations: 0 / 248.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006561/0.01172, allocations: 299.5 kB / 248.9 MB, free: 9.613 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.01174, allocations: 55.41 kB / 248.9 MB, free: 9.547 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.01192, allocations: 266.9 kB / 249.2 MB, free: 9.273 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.01194, allocations: 37.7 kB / 249.2 MB, free: 9.23 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.01202, allocations: 180.9 kB / 249.4 MB, free: 9.051 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.01207, allocations: 79.31 kB / 249.5 MB, free: 8.973 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.01214, allocations: 45.69 kB / 249.5 MB, free: 8.922 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.01223, allocations: 350.7 kB / 249.9 MB, free: 8.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.01227, allocations: 20 kB / 249.9 MB, free: 8.551 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.01234, allocations: 72.25 kB / 250 MB, free: 8.465 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.01247, allocations: 112 kB / 250.1 MB, free: 8.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01247, allocations: 0 / 250.1 MB, free: 8.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002746/0.01275, allocations: 204 kB / 250.3 MB, free: 8.125 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.01276, allocations: 8 kB / 250.3 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01277, allocations: 0 / 250.3 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.01299, allocations: 94.44 kB / 250.4 MB, free: 8.016 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.0131, allocations: 35.97 kB / 250.4 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.01554, allocations: 4.161 MB / 254.6 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.01565, allocations: 19.89 kB / 254.6 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.01566, allocations: 8.094 kB / 254.6 MB, free: 3.535 MB / 250.7 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 (With_Ron_Goff_Vknee.off,With_Ron_Goff.off,Ideal.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 8.968e-05/0.01575, allocations: 125.8 kB / 254.7 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.0158, allocations: 35.91 kB / 254.8 MB, free: 3.367 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.01583, allocations: 34.41 kB / 254.8 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01583, allocations: 4 kB / 254.8 MB, free: 3.332 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01584, allocations: 0 / 254.8 MB, free: 3.332 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.01584, allocations: 3.984 kB / 254.8 MB, free: 3.328 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.01606, allocations: 181.6 kB / 255 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01606, allocations: 128 / 255 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.01612, allocations: 27.98 kB / 255 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.01619, allocations: 27.81 kB / 255 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/0.01637, allocations: 90.44 kB / 255.1 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.01638, allocations: 11.88 kB / 255.1 MB, free: 2.969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.01834, allocations: 4.134 MB / 259.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01835, allocations: 4 kB / 259.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.01857, allocations: 269.8 kB / 259.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.01859, allocations: 0 / 259.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.01871, allocations: 24.05 kB / 259.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.01877, allocations: 31.89 kB / 259.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.01879, allocations: 4 kB / 259.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.361e-05/0.01887, allocations: 100.6 kB / 259.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01887, allocations: 0 / 259.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005272/0.0194, allocations: 127.7 kB / 259.8 MB, free: 14 MB / 266.7 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.0003243/0.01972, allocations: 84.42 kB / 259.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.02012, allocations: 474.9 kB / 260.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/0.02014, allocations: 7.984 kB / 260.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002734/0.02041, allocations: 444.3 kB / 260.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.02068, allocations: 72.69 kB / 260.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.02461, allocations: 0.6368 MB / 261.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.626e-05/0.02469, allocations: 108.5 kB / 261.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.718e-05/0.02476, allocations: 18.3 kB / 261.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.0249, allocations: 103.3 kB / 261.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.0249, allocations: 0 / 261.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of Templates: time 0.008647/0.03354, allocations: 5.4 MB / 267.1 MB, free: 6.625 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.65550824906677]