Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 119.6 kB / 18.46 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 194.6 kB / 21.4 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 51.92 kB / 366.8 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.09167, allocations: 52.13 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003941/0.09561, allocations: 2.379 MB / 421.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.09705, allocations: 0.6777 MB / 422 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.09723, allocations: 3.938 kB / 422 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.09742, allocations: 31.72 kB / 422 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.09756, allocations: 51.5 kB / 422.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.09794, allocations: 91.77 kB / 422.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.09833, allocations: 267 kB / 422.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.09856, allocations: 79.05 kB / 422.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.09881, allocations: 119.6 kB / 422.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.099, allocations: 111.5 kB / 422.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.68e-05/0.09906, allocations: 31.94 kB / 422.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.458e-05/0.0991, allocations: 27.94 kB / 422.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.09917, allocations: 47.84 kB / 422.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.09932, allocations: 123.4 kB / 423 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.0997, allocations: 282.8 kB / 423.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.0997, allocations: 0 / 423.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.0997, allocations: 0 / 423.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.09971, allocations: 3.938 kB / 423.3 MB, free: 7.781 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.00115/0.1009, allocations: 0.6754 MB / 423.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1009, allocations: 8.031 kB / 423.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.101, allocations: 28.8 kB / 424 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.1014, allocations: 241.4 kB / 424.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.181e-05/0.1015, allocations: 50.2 kB / 424.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.1015, allocations: 20.38 kB / 424.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.1021, allocations: 256.3 kB / 424.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1021, allocations: 3.984 kB / 424.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.1021, allocations: 15.94 kB / 424.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1021, allocations: 4 kB / 424.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.1026, allocations: 204.3 kB / 424.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.1041, allocations: 0.764 MB / 425.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.1047, allocations: 251.2 kB / 425.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.1051, allocations: 193 kB / 425.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1051, allocations: 4 kB / 425.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005436/0.1057, allocations: 320.8 kB / 426.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.1057, allocations: 0 / 426.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001218/0.1069, allocations: 0.575 MB / 426.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.107, allocations: 203.9 kB / 427 MB, free: 3.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1072, allocations: 183.9 kB / 427.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.1073, allocations: 33.7 kB / 427.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1074, allocations: 132.9 kB / 427.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.1075, allocations: 79.39 kB / 427.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1076, allocations: 73.95 kB / 427.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1077, allocations: 334.8 kB / 427.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.108, allocations: 104.6 kB / 428 MB, free: 2.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.1083, allocations: 175.3 kB / 428.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/0.1089, allocations: 427.2 kB / 428.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1089, allocations: 0 / 428.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007359/0.1096, allocations: 442.2 kB / 429 MB, free: 1.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.594e-05/0.1097, allocations: 97.09 kB / 429.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1097, allocations: 3.938 kB / 429.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.1097, allocations: 8.094 kB / 429.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.1099, allocations: 43.84 kB / 429.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1099, allocations: 4 kB / 429.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.1101, allocations: 31.88 kB / 429.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.1101, allocations: 8 kB / 429.2 MB, free: 1.426 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002568/0.1104, allocations: 243.8 kB / 429.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.1104, allocations: 23.86 kB / 429.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.1105, allocations: 30.58 kB / 429.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1105, allocations: 4 kB / 429.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1105, allocations: 192 / 429.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1105, allocations: 3.984 kB / 429.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.112, allocations: 0.9395 MB / 430.4 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.112, allocations: 0 / 430.4 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.1122, allocations: 23.92 kB / 430.4 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.1122, allocations: 4 kB / 430.4 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.1122, allocations: 8 kB / 430.4 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.1122, allocations: 4.031 kB / 430.4 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1122, allocations: 4 kB / 430.4 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.1132, allocations: 0.6222 MB / 431.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.08e-05/0.1133, allocations: 100.9 kB / 431.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.233e-05/0.1134, allocations: 19.98 kB / 431.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.1136, allocations: 19.98 kB / 431.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.1137, allocations: 23.91 kB / 431.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.1137, allocations: 11.98 kB / 431.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1138, allocations: 135.2 kB / 431.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1138, allocations: 3.938 kB / 431.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.1142, allocations: 79.94 kB / 431.5 MB, free: 14.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001745/0.1143, allocations: 125 kB / 431.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008842/0.1152, allocations: 0.5195 MB / 432.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1152, allocations: 0 / 432.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.1157, allocations: 318.6 kB / 432.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007181/0.1164, allocations: 155.1 kB / 432.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1175, allocations: 0.5542 MB / 433.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.1179, allocations: 0.7406 MB / 433.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.118, allocations: 27.42 kB / 433.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.118, allocations: 0 / 433.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of Templates: time 0.006023/0.124, allocations: 3.126 MB / 437 MB, free: 9.344 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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: 7.2019033420074265]