Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00198/0.00198, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002532/0.002532, allocations: 210.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 43.92 kB / 378.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2803, allocations: 53.37 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005833/0.2861, allocations: 3.206 MB / 434.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.2885, allocations: 0.8272 MB / 435.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003879/0.2889, allocations: 7.938 kB / 435.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.2892, allocations: 67.36 kB / 435.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.2895, allocations: 134.8 kB / 435.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.2901, allocations: 139.8 kB / 436 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007239/0.2908, allocations: 0.5055 MB / 436.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.291, allocations: 91.7 kB / 436.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/0.2915, allocations: 199.2 kB / 436.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004239/0.2919, allocations: 191 kB / 436.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.285e-05/0.292, allocations: 36 kB / 437 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.2922, allocations: 48 kB / 437 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.2923, allocations: 87.62 kB / 437.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.2925, allocations: 179.2 kB / 437.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007205/0.2932, allocations: 0.5093 MB / 437.8 MB, free: 500 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2932, allocations: 0 / 437.8 MB, free: 500 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2932, allocations: 3.938 kB / 437.8 MB, free: 496 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.2933, allocations: 4 kB / 437.8 MB, free: 492 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.001337/0.2946, allocations: 0.6489 MB / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2946, allocations: 16.02 kB / 438.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.295, allocations: 80.58 kB / 438.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.2955, allocations: 266.3 kB / 438.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.2955, allocations: 29.03 kB / 438.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.2956, allocations: 28.38 kB / 438.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.2962, allocations: 436.2 kB / 439.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2962, allocations: 4 kB / 439.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.2963, allocations: 12 kB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2963, allocations: 8 kB / 439.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005662/0.2969, allocations: 266.4 kB / 439.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.2989, allocations: 1.244 MB / 440.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.2993, allocations: 202.4 kB / 441 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.2995, allocations: 93.22 kB / 441.1 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.2996, allocations: 4 kB / 441.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.2996, allocations: 42.41 kB / 441.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.2996, allocations: 7.938 kB / 441.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001452/0.301, allocations: 473.2 kB / 441.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.3011, allocations: 59.34 kB / 441.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.3014, allocations: 300.5 kB / 442 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.3014, allocations: 29.7 kB / 442 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.3016, allocations: 212.4 kB / 442.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/0.3017, allocations: 91.25 kB / 442.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.3018, allocations: 49.7 kB / 442.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3019, allocations: 334.8 kB / 442.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.3021, allocations: 79.95 kB / 442.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.3024, allocations: 129 kB / 442.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.3028, allocations: 196.1 kB / 443.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3028, allocations: 7.938 kB / 443.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007425/0.3035, allocations: 347.7 kB / 443.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3035, allocations: 11.94 kB / 443.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.3035, allocations: 0 / 443.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004304/0.304, allocations: 114.5 kB / 443.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.3041, allocations: 28.05 kB / 443.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.3084, allocations: 4.584 MB / 448.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.3086, allocations: 23.86 kB / 448.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.3086, allocations: 12.19 kB / 448.2 MB, free: 5.48 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.000171/0.3088, allocations: 149.8 kB / 448.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.3089, allocations: 31.81 kB / 448.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.924e-05/0.3089, allocations: 39.17 kB / 448.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3089, allocations: 3.938 kB / 448.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3089, allocations: 64 / 448.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3089, allocations: 8 kB / 448.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.3093, allocations: 257.1 kB / 448.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3093, allocations: 3.938 kB / 448.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.3094, allocations: 27.97 kB / 448.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003234/0.3097, allocations: 114.4 kB / 448.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.3097, allocations: 4 kB / 448.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/0.3137, allocations: 4.577 MB / 453.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3137, allocations: 0 / 453.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.3143, allocations: 397.6 kB / 453.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3144, allocations: 51.72 kB / 453.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.3145, allocations: 4.281 kB / 453.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.3147, allocations: 24.02 kB / 453.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.449e-05/0.3148, allocations: 31.92 kB / 453.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.3148, allocations: 7.938 kB / 453.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002192/0.315, allocations: 211.1 kB / 454.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.315, allocations: 0 / 454.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006365/0.3157, allocations: 119.8 kB / 454.2 MB, free: 15.08 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.0001172/0.3158, allocations: 107.2 kB / 454.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009192/0.3167, allocations: 0.5582 MB / 454.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3167, allocations: 0 / 454.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005419/0.3172, allocations: 479.8 kB / 455.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.3176, allocations: 45.19 kB / 455.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.3188, allocations: 0.641 MB / 456 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.319, allocations: 186.8 kB / 456.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.3191, allocations: 30.27 kB / 456.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.3192, allocations: 19.44 kB / 456.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3192, allocations: 0 / 456.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of Templates: time 0.01107/0.3303, allocations: 5.379 MB / 461.6 MB, free: 7.598 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.966794257983565]