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.0008439/0.0008439, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001904, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007394/0.0007394, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.00179, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9241/0.9241, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2213/1.145, allocations: 49.48 MB / 220.5 MB, free: 1.457 MB / 218.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.232e-05, allocations: 6.25 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004465/0.004497, allocations: 3.44 MB / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.005899, allocations: 0.8068 MB / 226.1 MB, free: 11.89 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.006092, allocations: 12 kB / 226.1 MB, free: 11.88 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.006236, allocations: 75.22 kB / 226.2 MB, free: 11.8 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.006496, allocations: 134.7 kB / 226.3 MB, free: 11.67 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.006741, allocations: 115.8 kB / 226.4 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005/0.007241, allocations: 0.517 MB / 226.9 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.007427, allocations: 96.33 kB / 227 MB, free: 10.94 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.007832, allocations: 334.2 kB / 227.4 MB, free: 10.61 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.008048, allocations: 151.6 kB / 227.5 MB, free: 10.46 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.509e-05/0.008113, allocations: 43.94 kB / 227.5 MB, free: 10.42 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.293e-05/0.008176, allocations: 40 kB / 227.6 MB, free: 10.38 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.00845, allocations: 63.75 kB / 227.6 MB, free: 10.32 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.008602, allocations: 127.8 kB / 227.8 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.008996, allocations: 310.8 kB / 228.1 MB, free: 9.891 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.678e-05/0.009013, allocations: 3.938 kB / 228.1 MB, free: 9.887 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.009014, allocations: 0 / 228.1 MB, free: 9.887 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.009036, allocations: 0 / 228.1 MB, free: 9.887 MB / 234.7 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.0009824/0.01002, allocations: 0.7175 MB / 228.8 MB, free: 9.145 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.01005, allocations: 8.031 kB / 228.8 MB, free: 9.137 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.53e-05/0.01015, allocations: 56.89 kB / 228.9 MB, free: 9.082 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.01045, allocations: 217.6 kB / 229.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.01048, allocations: 21.03 kB / 229.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.01052, allocations: 36.38 kB / 229.1 MB, free: 8.785 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.01093, allocations: 349.1 kB / 229.5 MB, free: 8.406 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01094, allocations: 192 / 229.5 MB, free: 8.406 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.01097, allocations: 24.31 kB / 229.5 MB, free: 8.383 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.01099, allocations: 11.94 kB / 229.5 MB, free: 8.371 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.01117, allocations: 88.53 kB / 229.6 MB, free: 8.285 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.01259, allocations: 1.035 MB / 230.6 MB, free: 7.188 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.01282, allocations: 138.4 kB / 230.8 MB, free: 7.043 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.01289, allocations: 48.83 kB / 230.8 MB, free: 6.992 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.01291, allocations: 4 kB / 230.8 MB, free: 6.988 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.01294, allocations: 42.56 kB / 230.9 MB, free: 6.938 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 4.047e-06/0.01294, allocations: 3.984 kB / 230.9 MB, free: 6.934 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007838/0.01373, allocations: 300.8 kB / 231.1 MB, free: 6.625 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.01376, allocations: 55.41 kB / 231.2 MB, free: 6.559 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.01399, allocations: 266.9 kB / 231.5 MB, free: 6.285 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.01401, allocations: 33.7 kB / 231.5 MB, free: 6.246 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.01412, allocations: 192.9 kB / 231.7 MB, free: 6.055 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.01418, allocations: 75.33 kB / 231.8 MB, free: 5.98 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.01425, allocations: 53.66 kB / 231.8 MB, free: 5.922 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.01437, allocations: 338.7 kB / 232.1 MB, free: 5.582 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-05/0.01442, allocations: 23.98 kB / 232.2 MB, free: 5.559 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.064e-05/0.01451, allocations: 68.27 kB / 232.2 MB, free: 5.477 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.01465, allocations: 108.1 kB / 232.3 MB, free: 5.355 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.01466, allocations: 4 kB / 232.3 MB, free: 5.352 MB / 234.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003509/0.01501, allocations: 203.8 kB / 232.5 MB, free: 5.137 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.01503, allocations: 8 kB / 232.5 MB, free: 5.129 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.01504, allocations: 0 / 232.5 MB, free: 5.129 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.01531, allocations: 98.38 kB / 232.6 MB, free: 5.023 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.01544, allocations: 27.98 kB / 232.7 MB, free: 4.996 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.01755, allocations: 4.154 MB / 236.8 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.01763, allocations: 27.78 kB / 236.9 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.01765, allocations: 16.08 kB / 236.9 MB, free: 0.543 MB / 234.7 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 (With_Ron_Goff_Vknee.off,With_Ron_Goff.off,Ideal.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 8.418e-05/0.01773, allocations: 121.8 kB / 237 MB, free: 424 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.01776, allocations: 31.91 kB / 237 MB, free: 392 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.01779, allocations: 38.41 kB / 237.1 MB, free: 348 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.01779, allocations: 0 / 237.1 MB, free: 348 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.0178, allocations: 0 / 237.1 MB, free: 348 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.0178, allocations: 0 / 237.1 MB, free: 348 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.01796, allocations: 177.7 kB / 237.2 MB, free: 152 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01796, allocations: 0 / 237.2 MB, free: 152 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.01801, allocations: 27.92 kB / 237.3 MB, free: 124 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.01806, allocations: 35.75 kB / 237.3 MB, free: 88 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001464/0.01821, allocations: 86.58 kB / 237.4 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.01822, allocations: 11.94 kB / 237.4 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.01977, allocations: 4.138 MB / 241.5 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01977, allocations: 0 / 241.5 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.01995, allocations: 273.9 kB / 241.8 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.01997, allocations: 4 kB / 241.8 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.731e-05/0.02005, allocations: 20.05 kB / 241.8 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/0.0203, allocations: 28.05 kB / 241.8 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.02031, allocations: 11.97 kB / 241.9 MB, free: 11.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.245e-05/0.02037, allocations: 100.6 kB / 242 MB, free: 11.13 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02037, allocations: 0 / 242 MB, free: 11.13 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003617/0.02073, allocations: 119.7 kB / 242.1 MB, free: 11.02 MB / 250.7 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 8.688e-05/0.02082, allocations: 84.42 kB / 242.2 MB, free: 10.93 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.02117, allocations: 487.5 kB / 242.6 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.02118, allocations: 4 kB / 242.6 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.0214, allocations: 432.5 kB / 243.1 MB, free: 9.941 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.02162, allocations: 80.59 kB / 243.1 MB, free: 9.863 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.0245, allocations: 0.6452 MB / 243.8 MB, free: 9.188 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.603e-05/0.02455, allocations: 96.61 kB / 243.9 MB, free: 9.074 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.179e-05/0.02462, allocations: 26.28 kB / 243.9 MB, free: 9.051 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.02473, allocations: 103.3 kB / 244 MB, free: 8.949 MB / 250.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02473, allocations: 0 / 244 MB, free: 8.949 MB / 250.7 MB Notification: Performance of Templates: time 0.00682/0.03155, allocations: 5.389 MB / 249.4 MB, free: 3.59 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8491861149668694]