Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001034/0.001034, allocations: 79.73 kB / 21.97 MB, free: 2.594 MB / 18.57 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.001434/0.001434, allocations: 168.6 kB / 25.33 MB, free: 8.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9498/0.9498, allocations: 158.6 MB / 187.2 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.091e-05, allocations: 6.25 kB / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.00525/0.005281, allocations: 3.42 MB / 254.5 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.007017, allocations: 0.7876 MB / 255.3 MB, free: 3.266 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.00727, allocations: 11.94 kB / 255.3 MB, free: 3.254 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.007498, allocations: 59.36 kB / 255.3 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.007824, allocations: 146.6 kB / 255.5 MB, free: 3.051 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.008187, allocations: 111.8 kB / 255.6 MB, free: 2.941 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000588/0.008775, allocations: 0.5324 MB / 256.1 MB, free: 2.406 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.009007, allocations: 91.66 kB / 256.2 MB, free: 2.316 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004021/0.009409, allocations: 283.4 kB / 256.5 MB, free: 2.039 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.009647, allocations: 155.5 kB / 256.6 MB, free: 1.887 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.942e-05/0.009727, allocations: 40 kB / 256.7 MB, free: 1.848 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.009795, allocations: 43.94 kB / 256.7 MB, free: 1.805 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.024e-05/0.009876, allocations: 87.66 kB / 256.8 MB, free: 1.719 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.01005, allocations: 159.6 kB / 257 MB, free: 1.559 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.0105, allocations: 334.8 kB / 257.3 MB, free: 1.23 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.01051, allocations: 0 / 257.3 MB, free: 1.23 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01051, allocations: 0 / 257.3 MB, free: 1.23 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.01052, allocations: 0 / 257.3 MB, free: 1.23 MB / 234.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.001197/0.01172, allocations: 0.7489 MB / 258 MB, free: 452 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.01177, allocations: 12.03 kB / 258 MB, free: 440 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.01191, allocations: 68.66 kB / 258.1 MB, free: 372 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.0122, allocations: 256.4 kB / 258.4 MB, free: 88 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.01222, allocations: 29.03 kB / 258.4 MB, free: 60 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.01225, allocations: 28.38 kB / 258.4 MB, free: 32 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.01269, allocations: 384.3 kB / 258.8 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.01271, allocations: 4.188 kB / 258.8 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.01273, allocations: 16.38 kB / 258.8 MB, free: 15.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.01274, allocations: 11.94 kB / 258.8 MB, free: 15.58 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.01294, allocations: 139.8 kB / 259 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.01414, allocations: 1.386 MB / 260.3 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.01437, allocations: 171 kB / 260.5 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.01445, allocations: 59.67 kB / 260.6 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.01446, allocations: 4 kB / 260.6 MB, free: 13.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.01449, allocations: 41.38 kB / 260.6 MB, free: 13.67 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.343e-06/0.01449, allocations: 0 / 260.6 MB, free: 13.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006895/0.01518, allocations: 364.6 kB / 261 MB, free: 13.3 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.01521, allocations: 55.39 kB / 261 MB, free: 13.23 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.0154, allocations: 338.2 kB / 261.4 MB, free: 12.88 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.01542, allocations: 29.7 kB / 261.4 MB, free: 12.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.01553, allocations: 263.1 kB / 261.6 MB, free: 12.58 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.01556, allocations: 75.34 kB / 261.7 MB, free: 12.5 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.01562, allocations: 55.36 kB / 261.8 MB, free: 12.44 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.01575, allocations: 0.5079 MB / 262.3 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.01582, allocations: 31.98 kB / 262.3 MB, free: 11.89 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.0159, allocations: 94.34 kB / 262.4 MB, free: 11.78 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.01607, allocations: 138.3 kB / 262.5 MB, free: 11.62 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.01607, allocations: 4 kB / 262.5 MB, free: 11.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003246/0.0164, allocations: 272.2 kB / 262.8 MB, free: 11.33 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01641, allocations: 8 kB / 262.8 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01642, allocations: 0 / 262.8 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002426/0.01666, allocations: 103 kB / 262.9 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.01675, allocations: 27.92 kB / 262.9 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.01944, allocations: 6.185 MB / 269.1 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.01955, allocations: 24.11 kB / 269.1 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.01956, allocations: 19.98 kB / 269.2 MB, free: 4.594 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 (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.0001184/0.01968, allocations: 168.5 kB / 269.3 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.01973, allocations: 43.77 kB / 269.4 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.01976, allocations: 42.34 kB / 269.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01976, allocations: 0 / 269.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01976, allocations: 0 / 269.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01976, allocations: 0 / 269.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.01998, allocations: 256.4 kB / 269.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01999, allocations: 0 / 269.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.02011, allocations: 27.98 kB / 269.7 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002852/0.02039, allocations: 98.98 kB / 269.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.02041, allocations: 7.938 kB / 269.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003675/0.02409, allocations: 6.174 MB / 276 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.02409, allocations: 0 / 276 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.02456, allocations: 387.2 kB / 276.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.02467, allocations: 47.72 kB / 276.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.0247, allocations: 8 kB / 276.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.02489, allocations: 20.05 kB / 276.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/0.02498, allocations: 23.95 kB / 276.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.025, allocations: 15.94 kB / 276.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000191/0.02519, allocations: 227 kB / 276.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02519, allocations: 3.938 kB / 276.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000767/0.02596, allocations: 115.8 kB / 276.8 MB, free: 12.51 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.0001392/0.0261, allocations: 99.25 kB / 276.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008043/0.0269, allocations: 0.6607 MB / 277.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.81e-06/0.02691, allocations: 4 kB / 277.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.02737, allocations: 0.5986 MB / 278.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.02781, allocations: 64.86 kB / 278.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.02936, allocations: 0.6073 MB / 278.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.02947, allocations: 104.6 kB / 278.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.02958, allocations: 22.28 kB / 279 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.02965, allocations: 28.48 kB / 279 MB, free: 10.14 MB / 266.7 MB Notification: Performance of SimCode: time 1.433e-06/0.02965, allocations: 0 / 279 MB, free: 10.14 MB / 266.7 MB Notification: Performance of Templates: time 0.01165/0.0413, allocations: 5.208 MB / 284.2 MB, free: 4.969 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9233281472697854]