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.001643/0.001643, allocations: 109.1 kB / 21.18 MB, free: 0.7852 MB / 14.72 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.001976/0.001976, allocations: 218 kB / 24.5 MB, free: 4.172 MB / 14.72 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 1.573/1.573, allocations: 230.5 MB / 258.1 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002036/0.002036, allocations: 63.89 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2543, allocations: 53.42 MB / 432.5 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.00536/0.2596, allocations: 3.536 MB / 436 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.2614, allocations: 0.8526 MB / 436.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003718/0.2618, allocations: 11.94 kB / 436.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.2621, allocations: 71.3 kB / 436.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.2625, allocations: 138.8 kB / 437.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.263, allocations: 127.8 kB / 437.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007688/0.2638, allocations: 0.5211 MB / 437.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.2641, allocations: 95.7 kB / 437.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004374/0.2645, allocations: 203.2 kB / 438 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.2648, allocations: 211 kB / 438.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-05/0.2649, allocations: 40 kB / 438.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.265, allocations: 43.98 kB / 438.3 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.857e-05/0.2651, allocations: 87.69 kB / 438.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.2654, allocations: 226.8 kB / 438.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.266, allocations: 0.4955 MB / 439.1 MB, free: 108 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.266, allocations: 0 / 439.1 MB, free: 108 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.266, allocations: 4 kB / 439.1 MB, free: 104 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.266, allocations: 0 / 439.1 MB, free: 104 kB / 334.1 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.001384/0.2674, allocations: 0.6647 MB / 439.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2675, allocations: 8.031 kB / 439.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.2678, allocations: 76.58 kB / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/0.2684, allocations: 270.3 kB / 440.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.2684, allocations: 25.03 kB / 440.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.2685, allocations: 32.38 kB / 440.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.2691, allocations: 363 kB / 440.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2691, allocations: 0 / 440.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.2692, allocations: 12 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.2692, allocations: 8 kB / 440.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000565/0.2698, allocations: 270.4 kB / 440.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.2719, allocations: 1.369 MB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.2724, allocations: 209.5 kB / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.2726, allocations: 97.22 kB / 442.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.2726, allocations: 7.938 kB / 442.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.2726, allocations: 38.42 kB / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.2727, allocations: 0 / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001453/0.2741, allocations: 487.5 kB / 443 MB, free: 12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.2742, allocations: 59.41 kB / 443 MB, free: 11.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.2745, allocations: 308.6 kB / 443.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.2746, allocations: 29.7 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.2747, allocations: 212.5 kB / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.2748, allocations: 83.31 kB / 443.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.2749, allocations: 53.66 kB / 443.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.2751, allocations: 334.8 kB / 444 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.2753, allocations: 87.95 kB / 444.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.2755, allocations: 125 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.2759, allocations: 204.1 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2759, allocations: 0 / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007692/0.2766, allocations: 351.7 kB / 444.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2767, allocations: 4 kB / 444.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2767, allocations: 4.062 kB / 444.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004316/0.2771, allocations: 114.5 kB / 444.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.2773, allocations: 35.91 kB / 445 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/0.2817, allocations: 4.665 MB / 449.6 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.2819, allocations: 27.86 kB / 449.6 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.282, allocations: 12 kB / 449.7 MB, free: 4.891 MB / 350.1 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.000211/0.2822, allocations: 145.9 kB / 449.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.038e-05/0.2822, allocations: 35.75 kB / 449.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.16e-05/0.2823, allocations: 39.27 kB / 449.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2823, allocations: 4 kB / 449.9 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2823, allocations: 0 / 449.9 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.2823, allocations: 3.984 kB / 449.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.2828, allocations: 348.3 kB / 450.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.2829, allocations: 3.984 kB / 450.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.283, allocations: 27.92 kB / 450.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003575/0.2833, allocations: 114.5 kB / 450.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.2833, allocations: 4 kB / 450.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004186/0.2875, allocations: 4.661 MB / 455 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2875, allocations: 4.031 kB / 455 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.2882, allocations: 402.4 kB / 455.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.2884, allocations: 47.72 kB / 455.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.2885, allocations: 4 kB / 455.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.2887, allocations: 23.97 kB / 455.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.784e-05/0.2888, allocations: 31.89 kB / 455.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.2888, allocations: 15.94 kB / 455.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002639/0.2891, allocations: 219.1 kB / 455.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2891, allocations: 0 / 455.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007179/0.2898, allocations: 115.8 kB / 455.9 MB, free: 14.25 MB / 366.1 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.0001411/0.2899, allocations: 106.8 kB / 456 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.291, allocations: 0.5744 MB / 456.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.291, allocations: 0 / 456.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.2916, allocations: 472.2 kB / 457 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.292, allocations: 57.47 kB / 457.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.2934, allocations: 0.6644 MB / 457.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.2938, allocations: 0.7992 MB / 458.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.2939, allocations: 27.42 kB / 458.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2939, allocations: 4 kB / 458.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of Templates: time 0.01228/0.3062, allocations: 8.475 MB / 467 MB, free: 2.953 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.122962136054412]