Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 110.9 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 190.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 51.92 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2455, allocations: 49.43 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.006576/0.2521, allocations: 3.493 MB / 404.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.2542, allocations: 0.7439 MB / 405.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006159/0.2548, allocations: 7.938 kB / 405.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.2553, allocations: 67.36 kB / 405.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000813/0.2562, allocations: 138.7 kB / 405.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.2568, allocations: 111.8 kB / 406 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.2579, allocations: 0.4939 MB / 406.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003622/0.2583, allocations: 140.4 kB / 406.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003804/0.2587, allocations: 191.3 kB / 406.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004586/0.2592, allocations: 207.1 kB / 407 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.2593, allocations: 40 kB / 407 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.2595, allocations: 44 kB / 407.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.2596, allocations: 87.62 kB / 407.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.2599, allocations: 222.9 kB / 407.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006574/0.2606, allocations: 486.1 kB / 407.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2606, allocations: 4 kB / 407.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2606, allocations: 0 / 407.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.2606, allocations: 0 / 407.9 MB, free: 2.398 MB / 318.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.00164/0.2623, allocations: 0.7208 MB / 408.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.2623, allocations: 15.97 kB / 408.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.2625, allocations: 52.31 kB / 408.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000625/0.2631, allocations: 311.2 kB / 409 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.2632, allocations: 29.03 kB / 409 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/0.2632, allocations: 32.38 kB / 409 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009505/0.2642, allocations: 351.1 kB / 409.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.2642, allocations: 0 / 409.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.2643, allocations: 16 kB / 409.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.2643, allocations: 11.98 kB / 409.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008561/0.2652, allocations: 274.4 kB / 409.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.2681, allocations: 1.403 MB / 411.1 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.2687, allocations: 226.4 kB / 411.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.2691, allocations: 104.8 kB / 411.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.2691, allocations: 8 kB / 411.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2692, allocations: 34.56 kB / 411.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.495e-06/0.2692, allocations: 0 / 411.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.002181/0.2714, allocations: 0.7095 MB / 412.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.2714, allocations: 51.41 kB / 412.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.2719, allocations: 304.6 kB / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.2719, allocations: 33.64 kB / 412.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.2721, allocations: 208.2 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.888e-05/0.2722, allocations: 74.91 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.2723, allocations: 49.61 kB / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2725, allocations: 342.8 kB / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.2728, allocations: 87.95 kB / 413.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.2731, allocations: 120.2 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/0.2738, allocations: 204.2 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.2738, allocations: 7.938 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001157/0.275, allocations: 351.5 kB / 413.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.275, allocations: 8 kB / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.275, allocations: 4 kB / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/0.2756, allocations: 122.4 kB / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.2759, allocations: 23.98 kB / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005256/0.2812, allocations: 4.967 MB / 419 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.2815, allocations: 31.73 kB / 419.1 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.2816, allocations: 8 kB / 419.1 MB, free: 6.352 MB / 334.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.0002166/0.2818, allocations: 145.8 kB / 419.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2819, allocations: 39.56 kB / 419.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.383e-05/0.282, allocations: 35.17 kB / 419.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.282, allocations: 7.984 kB / 419.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.282, allocations: 0 / 419.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.2822, allocations: 128.6 kB / 419.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.2823, allocations: 4 kB / 419.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.2827, allocations: 19.98 kB / 419.5 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.2828, allocations: 19.97 kB / 419.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001428/0.2842, allocations: 427 kB / 419.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001052/0.2853, allocations: 0.5009 MB / 420.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002923/0.2856, allocations: 79.95 kB / 420.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000313/0.2859, allocations: 219.1 kB / 420.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of Backend: time 5.51e-07/0.2859, allocations: 0 / 420.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.2874, allocations: 0.5771 MB / 421.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of SimCode: time 0.00128/0.2887, allocations: 1.138 MB / 422.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of Templates: time 0.009678/0.2984, allocations: 5.102 MB / 427.5 MB, free: 13.83 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches