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.001405/0.001405, allocations: 116.2 kB / 21.94 MB, free: 20 kB / 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.001595/0.001595, allocations: 212.7 kB / 25.24 MB, free: 3.547 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.59/1.59, allocations: 207.6 MB / 236 MB, free: 9.988 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.001879/0.001879, allocations: 55.94 kB / 348.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3805, allocations: 49.15 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004455/0.3849, allocations: 3.479 MB / 401.1 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3864, allocations: 0.8074 MB / 401.9 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.3867, allocations: 9.5 kB / 401.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.3869, allocations: 66.88 kB / 402 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.3871, allocations: 128.8 kB / 402.1 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.3875, allocations: 117.6 kB / 402.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.3881, allocations: 0.4982 MB / 402.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.3883, allocations: 105.1 kB / 402.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.3886, allocations: 195.3 kB / 403 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.3889, allocations: 208.4 kB / 403.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.389, allocations: 39.41 kB / 403.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.372e-05/0.3891, allocations: 39.72 kB / 403.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.3891, allocations: 97.31 kB / 403.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.3893, allocations: 218.2 kB / 403.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.3899, allocations: 494.9 kB / 404.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3899, allocations: 0 / 404.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3899, allocations: 1.031 kB / 404.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3899, allocations: 0.9375 kB / 404.1 MB, free: 5.332 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.0011/0.391, allocations: 0.6556 MB / 404.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.3911, allocations: 9.719 kB / 404.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.3912, allocations: 48.66 kB / 404.8 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.3917, allocations: 256.8 kB / 405 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.3917, allocations: 29.78 kB / 405.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.3918, allocations: 32.5 kB / 405.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.3924, allocations: 357.1 kB / 405.4 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.3924, allocations: 1.125 kB / 405.4 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.3925, allocations: 11.25 kB / 405.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3925, allocations: 8.594 kB / 405.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.393, allocations: 272.4 kB / 405.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.3949, allocations: 1.371 MB / 407.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.3953, allocations: 197.4 kB / 407.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.3955, allocations: 101 kB / 407.4 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.3955, allocations: 2.312 kB / 407.4 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.3955, allocations: 41.72 kB / 407.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.3955, allocations: 0 / 407.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001418/0.3969, allocations: 473.3 kB / 407.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.397, allocations: 62.09 kB / 408 MB, free: 2.871 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.3973, allocations: 304.4 kB / 408.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3973, allocations: 27.05 kB / 408.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3974, allocations: 220.6 kB / 408.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.3975, allocations: 79 kB / 408.6 MB, free: 2.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/0.3976, allocations: 50.59 kB / 408.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.561e-05/0.3976, allocations: 339.1 kB / 409 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.3978, allocations: 85.97 kB / 409 MB, free: 2.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.398, allocations: 116 kB / 409.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.3984, allocations: 206.7 kB / 409.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3984, allocations: 0 / 409.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006757/0.3991, allocations: 346.8 kB / 409.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3991, allocations: 5.812 kB / 409.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3991, allocations: 5.5 kB / 409.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004234/0.3995, allocations: 119 kB / 409.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.3997, allocations: 27.86 kB / 409.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/0.4037, allocations: 4.671 MB / 414.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.4039, allocations: 27.66 kB / 414.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.404, allocations: 11.08 kB / 414.6 MB, free: 13.12 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.0002169/0.4042, allocations: 149.5 kB / 414.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.069e-05/0.4043, allocations: 42.11 kB / 414.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.55e-05/0.4044, allocations: 41.84 kB / 414.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4044, allocations: 3.25 kB / 414.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4044, allocations: 0 / 414.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.4044, allocations: 2.578 kB / 414.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/0.4049, allocations: 349.7 kB / 415.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.4049, allocations: 4.609 kB / 415.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.405, allocations: 20.08 kB / 415.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003536/0.4054, allocations: 120.3 kB / 415.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.4054, allocations: 6.062 kB / 415.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0044/0.4098, allocations: 4.649 MB / 419.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4098, allocations: 0.9688 kB / 419.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007627/0.4106, allocations: 403.3 kB / 420.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.4107, allocations: 50.59 kB / 420.4 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.4108, allocations: 6.031 kB / 420.4 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.411, allocations: 27.84 kB / 420.4 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.524e-05/0.4111, allocations: 28.33 kB / 420.4 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.4111, allocations: 8.719 kB / 420.4 MB, free: 7.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002666/0.4114, allocations: 217.8 kB / 420.7 MB, free: 7.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4114, allocations: 0 / 420.7 MB, free: 7.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007522/0.4121, allocations: 118.8 kB / 420.8 MB, free: 7.562 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.0001334/0.4123, allocations: 104.6 kB / 420.9 MB, free: 7.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009866/0.4133, allocations: 0.5623 MB / 421.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4133, allocations: 0 / 421.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005734/0.4138, allocations: 480.8 kB / 421.9 MB, free: 6.578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.4143, allocations: 54.84 kB / 422 MB, free: 6.547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.4156, allocations: 0.6645 MB / 422.6 MB, free: 6.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/0.4161, allocations: 0.792 MB / 423.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.4162, allocations: 23.53 kB / 423.4 MB, free: 5.328 MB / 334.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4162, allocations: 7.938 kB / 423.4 MB, free: 5.32 MB / 334.1 MB Notification: Performance of Templates: time 0.014/0.4302, allocations: 8.326 MB / 431.8 MB, free: 15.98 MB / 350.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.851513870060444]