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.0008008/0.0008008, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.0008931/0.0008931, allocations: 172.5 kB / 24.82 MB, free: 9.312 MB / 18.57 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 0.9944/0.9944, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 1.733e-06/1.733e-06, allocations: 0 / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.007e-05, allocations: 2.312 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.0032/0.00322, allocations: 3.449 MB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.00446, allocations: 0.8217 MB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.004637, allocations: 11.94 kB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.004788, allocations: 67.28 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.004992, allocations: 146.6 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.00531, allocations: 127.8 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.005707, allocations: 0.5286 MB / 278.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.005864, allocations: 91.64 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.00618, allocations: 291.3 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.006333, allocations: 159.5 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.006375, allocations: 40 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.737e-05/0.006453, allocations: 44 kB / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.006497, allocations: 91.66 kB / 279.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.006599, allocations: 159.6 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.006881, allocations: 342.7 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.006883, allocations: 3.938 kB / 279.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.006884, allocations: 0 / 279.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.006888, allocations: 0 / 279.8 MB, free: 10.88 MB / 266.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.0006605/0.007549, allocations: 0.7604 MB / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.00758, allocations: 8.031 kB / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.007823, allocations: 104.6 kB / 280.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.008068, allocations: 268.4 kB / 280.9 MB, free: 9.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.008084, allocations: 25.03 kB / 280.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.008114, allocations: 36.38 kB / 280.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.008421, allocations: 356.4 kB / 281.3 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.00843, allocations: 192 / 281.3 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.008451, allocations: 16.38 kB / 281.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.00846, allocations: 11.94 kB / 281.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.008589, allocations: 104.4 kB / 281.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.009677, allocations: 1.343 MB / 282.8 MB, free: 7.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.009853, allocations: 158.9 kB / 282.9 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.009908, allocations: 52.47 kB / 283 MB, free: 7.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.009924, allocations: 8 kB / 283 MB, free: 7.441 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.009951, allocations: 41.39 kB / 283 MB, free: 7.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.009953, allocations: 0 / 283 MB, free: 7.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006/0.01055, allocations: 350.8 kB / 283.4 MB, free: 7.031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.01058, allocations: 51.41 kB / 283.4 MB, free: 6.969 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.01075, allocations: 330.1 kB / 283.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.01076, allocations: 29.7 kB / 283.8 MB, free: 6.594 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01087, allocations: 263.1 kB / 284 MB, free: 6.332 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.01091, allocations: 87.3 kB / 284.1 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.01097, allocations: 51.34 kB / 284.2 MB, free: 6.188 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.01109, allocations: 0.5194 MB / 284.7 MB, free: 5.656 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.01113, allocations: 31.97 kB / 284.7 MB, free: 5.625 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.01119, allocations: 78.39 kB / 284.8 MB, free: 5.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.01131, allocations: 130.2 kB / 284.9 MB, free: 5.379 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.01131, allocations: 0 / 284.9 MB, free: 5.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002818/0.01159, allocations: 252.2 kB / 285.2 MB, free: 5.113 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.0116, allocations: 4 kB / 285.2 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01161, allocations: 0 / 285.2 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.01181, allocations: 107 kB / 285.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.01189, allocations: 31.91 kB / 285.3 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.01453, allocations: 6.101 MB / 291.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.267e-05/0.01462, allocations: 23.84 kB / 291.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.01464, allocations: 8 kB / 291.4 MB, free: 14.49 MB / 282.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 9.996e-05/0.01474, allocations: 164.6 kB / 291.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.01478, allocations: 43.69 kB / 291.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.01481, allocations: 39.17 kB / 291.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01481, allocations: 8.031 kB / 291.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.01481, allocations: 96 / 291.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01482, allocations: 7.969 kB / 291.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.01502, allocations: 217 kB / 291.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01502, allocations: 0 / 291.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.01507, allocations: 15.98 kB / 291.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001563/0.01522, allocations: 98.92 kB / 292 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01523, allocations: 8 kB / 292 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.01764, allocations: 6.087 MB / 298.1 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01764, allocations: 4.094 kB / 298.1 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.01788, allocations: 361.6 kB / 298.5 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/0.01795, allocations: 51.72 kB / 298.5 MB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.01797, allocations: 4 kB / 298.5 MB, free: 6.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.01806, allocations: 19.92 kB / 298.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.01812, allocations: 27.95 kB / 298.6 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.01813, allocations: 7.984 kB / 298.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.358e-05/0.01823, allocations: 218.9 kB / 298.8 MB, free: 6.719 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01823, allocations: 0 / 298.8 MB, free: 6.719 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000436/0.01866, allocations: 123.7 kB / 298.9 MB, free: 6.598 MB / 282.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 9.977e-05/0.01876, allocations: 111.2 kB / 299 MB, free: 6.477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004265/0.01919, allocations: 0.6333 MB / 299.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01919, allocations: 0 / 299.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.01947, allocations: 0.6063 MB / 300.3 MB, free: 5.125 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.01973, allocations: 46.05 kB / 300.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009531/0.02068, allocations: 0.62 MB / 300.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.395e-05/0.02078, allocations: 100.6 kB / 301 MB, free: 4.312 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.533e-05/0.02086, allocations: 26.33 kB / 301 MB, free: 4.289 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.02101, allocations: 122.2 kB / 301.2 MB, free: 4.168 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02101, allocations: 0 / 301.2 MB, free: 4.168 MB / 282.7 MB Notification: Performance of Templates: time 0.1119/0.1329, allocations: 5.3 MB / 306.5 MB, free: 36.24 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.846425589174032]