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.001433/0.001433, allocations: 109 kB / 21.93 MB, free: 5.211 MB / 14.72 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.001702/0.001702, allocations: 214 kB / 25.22 MB, free: 3.031 MB / 14.72 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 1.533/1.533, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 58.27 kB / 348.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.363, allocations: 49.15 MB / 397.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005731/0.3687, allocations: 3.145 MB / 400.7 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3705, allocations: 0.7719 MB / 401.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.3707, allocations: 10.66 kB / 401.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.371, allocations: 65.55 kB / 401.6 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.3714, allocations: 141.9 kB / 401.7 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.3718, allocations: 103.5 kB / 401.8 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006555/0.3724, allocations: 0.5056 MB / 402.3 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.3727, allocations: 96.17 kB / 402.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.373, allocations: 195.7 kB / 402.6 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.3734, allocations: 184.8 kB / 402.8 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.092e-05/0.3735, allocations: 40.09 kB / 402.8 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3736, allocations: 42.94 kB / 402.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.791e-05/0.3737, allocations: 90.34 kB / 403 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.3739, allocations: 182.5 kB / 403.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006684/0.3746, allocations: 0.4891 MB / 403.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3746, allocations: 0 / 403.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3746, allocations: 0 / 403.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.3746, allocations: 0 / 403.6 MB, free: 5.883 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.001385/0.376, allocations: 0.6596 MB / 404.3 MB, free: 5.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.376, allocations: 8.906 kB / 404.3 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.3761, allocations: 49.59 kB / 404.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.3767, allocations: 253.5 kB / 404.6 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.3767, allocations: 25.34 kB / 404.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-05/0.3768, allocations: 37.72 kB / 404.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000946/0.3777, allocations: 435.7 kB / 405.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3778, allocations: 3.984 kB / 405.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/0.3778, allocations: 15.41 kB / 405.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.3778, allocations: 8.75 kB / 405.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008158/0.3786, allocations: 267.4 kB / 405.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.3811, allocations: 1.226 MB / 406.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/0.3817, allocations: 203.2 kB / 406.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.382, allocations: 96.89 kB / 406.9 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.382, allocations: 6.531 kB / 406.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.382, allocations: 33.77 kB / 406.9 MB, free: 3.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 2.826e-06/0.382, allocations: 4 kB / 406.9 MB, free: 3.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.002054/0.3841, allocations: 476.5 kB / 407.4 MB, free: 3.465 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.3841, allocations: 58.28 kB / 407.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.3846, allocations: 288.7 kB / 407.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.3846, allocations: 35.08 kB / 407.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.3847, allocations: 213.1 kB / 408 MB, free: 3.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.134e-05/0.3848, allocations: 79.67 kB / 408.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.3849, allocations: 50.33 kB / 408.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.385, allocations: 338.6 kB / 408.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.3853, allocations: 81.41 kB / 408.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.3856, allocations: 117.5 kB / 408.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005777/0.3862, allocations: 207.2 kB / 408.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3862, allocations: 7.938 kB / 408.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000984/0.3871, allocations: 351 kB / 409.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.3872, allocations: 6.281 kB / 409.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3872, allocations: 1.406 kB / 409.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/0.3877, allocations: 121.7 kB / 409.3 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.388, allocations: 28.88 kB / 409.3 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004658/0.3926, allocations: 4.578 MB / 413.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.3929, allocations: 25.94 kB / 413.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.3929, allocations: 12.05 kB / 414 MB, free: 13.76 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.0002177/0.3932, allocations: 147.1 kB / 414.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.3932, allocations: 35.09 kB / 414.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.3933, allocations: 36.44 kB / 414.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3933, allocations: 11.77 kB / 414.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3933, allocations: 0 / 414.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3933, allocations: 2.781 kB / 414.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.3938, allocations: 256.5 kB / 414.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3938, allocations: 0.9375 kB / 414.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.3939, allocations: 20.38 kB / 414.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/0.3943, allocations: 113 kB / 414.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.3943, allocations: 17.33 kB / 414.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004329/0.3986, allocations: 4.573 MB / 419.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3986, allocations: 0 / 419.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007467/0.3994, allocations: 393 kB / 419.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.3995, allocations: 51.48 kB / 419.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.3996, allocations: 5.812 kB / 419.6 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.3998, allocations: 28.25 kB / 419.6 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.3999, allocations: 28.23 kB / 419.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.3999, allocations: 8.688 kB / 419.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.4002, allocations: 204.3 kB / 419.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4002, allocations: 0 / 419.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000884/0.4011, allocations: 114.3 kB / 420 MB, free: 8.484 MB / 334.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.000161/0.4012, allocations: 110.7 kB / 420.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.4022, allocations: 0.5557 MB / 420.6 MB, free: 7.922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4023, allocations: 0 / 420.6 MB, free: 7.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.4029, allocations: 479.3 kB / 421.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.4033, allocations: 48.59 kB / 421.2 MB, free: 7.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.4046, allocations: 0.6722 MB / 421.8 MB, free: 6.996 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.4049, allocations: 193.1 kB / 422 MB, free: 6.863 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.4049, allocations: 18.75 kB / 422 MB, free: 6.855 MB / 334.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4049, allocations: 0 / 422 MB, free: 6.855 MB / 334.1 MB Notification: Performance of Templates: time 0.01382/0.4188, allocations: 8.317 MB / 430.3 MB, free: 1.453 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/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: 8.487932733725756]