Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001005/0.001005, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001054/0.001054, allocations: 163.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9509/0.9509, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.834e-05, allocations: 6.25 kB / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.003252/0.00327, allocations: 3.452 MB / 277.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.004634, allocations: 0.8312 MB / 278.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.004832, allocations: 9.75 kB / 278.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.004998, allocations: 71.28 kB / 278.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.005216, allocations: 140.4 kB / 278.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.005569, allocations: 139.7 kB / 278.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.005967, allocations: 0.5325 MB / 279.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.006115, allocations: 99.53 kB / 279.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.006409, allocations: 291.3 kB / 279.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.006566, allocations: 159.5 kB / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/0.006614, allocations: 40 kB / 279.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.006681, allocations: 48 kB / 279.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.006731, allocations: 83.67 kB / 280 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.669e-05/0.006827, allocations: 155.6 kB / 280.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.007104, allocations: 350.7 kB / 280.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.007106, allocations: 0 / 280.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.007106, allocations: 0 / 280.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.00711, allocations: 0 / 280.5 MB, free: 13.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.0006315/0.007741, allocations: 0.7565 MB / 281.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.551e-05/0.007767, allocations: 8.031 kB / 281.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.007959, allocations: 104.6 kB / 281.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.008197, allocations: 272.4 kB / 281.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.008214, allocations: 21.03 kB / 281.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.008243, allocations: 36.38 kB / 281.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.00853, allocations: 364.3 kB / 282 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.008544, allocations: 192 / 282 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.008565, allocations: 12.38 kB / 282.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.008572, allocations: 11.94 kB / 282.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.0087, allocations: 104.4 kB / 282.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.009716, allocations: 1.347 MB / 283.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.009881, allocations: 155 kB / 283.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.009936, allocations: 55.66 kB / 283.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.00995, allocations: 4 kB / 283.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.009971, allocations: 37.38 kB / 283.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 9.22e-07/0.009971, allocations: 7.938 kB / 283.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005705/0.01054, allocations: 335.5 kB / 284.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.01056, allocations: 55.41 kB / 284.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.01073, allocations: 338.1 kB / 284.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.01075, allocations: 25.7 kB / 284.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.01085, allocations: 263.1 kB / 284.8 MB, free: 9.344 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.01089, allocations: 83.34 kB / 284.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.01095, allocations: 59.23 kB / 284.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.01107, allocations: 0.5156 MB / 285.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.01111, allocations: 23.97 kB / 285.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.01118, allocations: 87.08 kB / 285.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.0113, allocations: 130.3 kB / 285.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.0113, allocations: 0 / 285.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002736/0.01157, allocations: 248.2 kB / 285.9 MB, free: 8.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.01158, allocations: 8 kB / 285.9 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.01159, allocations: 0 / 285.9 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.01178, allocations: 106.9 kB / 286 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.01185, allocations: 23.98 kB / 286 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.01439, allocations: 6.09 MB / 292.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.01448, allocations: 15.89 kB / 292.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.01449, allocations: 15.98 kB / 292.1 MB, free: 1.52 MB / 266.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.579e-05/0.01459, allocations: 172.5 kB / 292.3 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.01463, allocations: 43.7 kB / 292.4 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.01466, allocations: 39.17 kB / 292.4 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01467, allocations: 4 kB / 292.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01467, allocations: 0 / 292.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01467, allocations: 4.031 kB / 292.4 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.01486, allocations: 208.9 kB / 292.6 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01486, allocations: 4 kB / 292.6 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.01491, allocations: 15.98 kB / 292.6 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001645/0.01507, allocations: 106.8 kB / 292.7 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.01508, allocations: 4 kB / 292.7 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.01735, allocations: 6.091 MB / 298.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01735, allocations: 0 / 298.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.01762, allocations: 357.1 kB / 299.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.01769, allocations: 59.78 kB / 299.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.01771, allocations: 8 kB / 299.2 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.01781, allocations: 19.92 kB / 299.3 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.01787, allocations: 31.89 kB / 299.3 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.01788, allocations: 4 kB / 299.3 MB, free: 9.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.01799, allocations: 222.9 kB / 299.5 MB, free: 9.738 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01799, allocations: 0 / 299.5 MB, free: 9.738 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004717/0.01847, allocations: 115.8 kB / 299.6 MB, free: 9.625 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.438e-05/0.01856, allocations: 107.2 kB / 299.7 MB, free: 9.508 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004781/0.01904, allocations: 0.6372 MB / 300.4 MB, free: 8.816 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01904, allocations: 0 / 300.4 MB, free: 8.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.01935, allocations: 0.6025 MB / 301 MB, free: 8.156 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.0196, allocations: 61.42 kB / 301 MB, free: 8.098 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008641/0.02046, allocations: 0.6128 MB / 301.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.793e-05/0.02054, allocations: 100.6 kB / 301.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.093e-05/0.0206, allocations: 26.27 kB / 301.8 MB, free: 7.316 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.02072, allocations: 122.2 kB / 301.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02072, allocations: 0 / 301.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of Templates: time 0.007095/0.02781, allocations: 5.423 MB / 307.3 MB, free: 1.867 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.952586453408003]