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.001054/0.001054, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008731/0.0008731, allocations: 161 kB / 25.45 MB, free: 9.348 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.915/0.915, allocations: 158.6 MB / 187.2 MB, free: 3.031 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 2.164e-06/2.164e-06, allocations: 0 / 299.7 MB, free: 7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.615e-05/3.831e-05, allocations: 2.281 kB / 299.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004474/0.004512, allocations: 3.143 MB / 302.9 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.00615, allocations: 0.7643 MB / 303.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.006393, allocations: 11.94 kB / 303.6 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.006612, allocations: 71.28 kB / 303.7 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.006886, allocations: 134.7 kB / 303.8 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.007244, allocations: 111.8 kB / 303.9 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005026/0.007747, allocations: 0.5286 MB / 304.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.007989, allocations: 91.59 kB / 304.6 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003685/0.008358, allocations: 283.4 kB / 304.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.008569, allocations: 155.6 kB / 305 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.844e-05/0.008637, allocations: 40 kB / 305 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.462e-05/0.008692, allocations: 39.94 kB / 305.1 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.804e-05/0.00876, allocations: 87.67 kB / 305.1 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.008921, allocations: 155.6 kB / 305.3 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.009468, allocations: 0.4984 MB / 305.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.009474, allocations: 0 / 305.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.009476, allocations: 0 / 305.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.009483, allocations: 0 / 305.8 MB, free: 0.8594 MB / 282.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.001006/0.01049, allocations: 0.649 MB / 306.4 MB, free: 184 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.01054, allocations: 12.03 kB / 306.5 MB, free: 172 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.01064, allocations: 48.66 kB / 306.5 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.01115, allocations: 253.6 kB / 306.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.01117, allocations: 32.91 kB / 306.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.01122, allocations: 32.38 kB / 306.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/0.01183, allocations: 432.4 kB / 307.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.01185, allocations: 4.188 kB / 307.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.01188, allocations: 12.31 kB / 307.3 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.01189, allocations: 11.94 kB / 307.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.01237, allocations: 270.4 kB / 307.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.01409, allocations: 1.234 MB / 308.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.01448, allocations: 210.3 kB / 309 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.01465, allocations: 100.8 kB / 309.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.01468, allocations: 0 / 309.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.01471, allocations: 34.56 kB / 309.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.01471, allocations: 0 / 309.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001201/0.01591, allocations: 476.1 kB / 309.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.01595, allocations: 55.41 kB / 309.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.01623, allocations: 292.4 kB / 309.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.01626, allocations: 33.7 kB / 309.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.01639, allocations: 212.4 kB / 310.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.01645, allocations: 83.27 kB / 310.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.01653, allocations: 49.7 kB / 310.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.01665, allocations: 338.8 kB / 310.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.01681, allocations: 79.95 kB / 310.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.017, allocations: 120.2 kB / 310.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.01732, allocations: 200.1 kB / 311 MB, free: 11.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01732, allocations: 4 kB / 311 MB, free: 11.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006065/0.01793, allocations: 351.6 kB / 311.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.01795, allocations: 8 kB / 311.4 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.01796, allocations: 0 / 311.4 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004137/0.01838, allocations: 122.4 kB / 311.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.01852, allocations: 32.05 kB / 311.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/0.02224, allocations: 4.572 MB / 316.1 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.02244, allocations: 31.84 kB / 316.1 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.02246, allocations: 8.281 kB / 316.1 MB, free: 5.926 MB / 298.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.0002301/0.02269, allocations: 149.8 kB / 316.3 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.02276, allocations: 35.77 kB / 316.3 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.02281, allocations: 42.34 kB / 316.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.02281, allocations: 0 / 316.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.02282, allocations: 12 kB / 316.4 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.02282, allocations: 0 / 316.4 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.02316, allocations: 261 kB / 316.6 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.02316, allocations: 0 / 316.6 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.698e-05/0.02325, allocations: 24.11 kB / 316.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002776/0.02353, allocations: 114.4 kB / 316.7 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.02355, allocations: 7.984 kB / 316.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/0.02681, allocations: 4.557 MB / 321.3 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.02681, allocations: 0 / 321.3 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.02737, allocations: 398.7 kB / 321.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.0275, allocations: 51.72 kB / 321.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.02753, allocations: 8 kB / 321.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.0277, allocations: 20.17 kB / 321.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.239e-05/0.02779, allocations: 23.95 kB / 321.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.02781, allocations: 15.92 kB / 321.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002014/0.02801, allocations: 203.1 kB / 322 MB, free: 15.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.02801, allocations: 4 kB / 322 MB, free: 15.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007268/0.02874, allocations: 115.8 kB / 322.1 MB, free: 15.53 MB / 314.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.0001547/0.02889, allocations: 107.1 kB / 322.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000808/0.0297, allocations: 0.5661 MB / 322.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.0297, allocations: 0 / 322.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004122/0.03011, allocations: 479.7 kB / 323.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.03056, allocations: 45.27 kB / 323.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.03181, allocations: 0.6296 MB / 323.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.03199, allocations: 194.6 kB / 324.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.03206, allocations: 24.5 kB / 324.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.03206, allocations: 0 / 324.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of Templates: time 0.008647/0.0407, allocations: 8.31 MB / 332.5 MB, free: 5.051 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.985091621056199]