Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007893/0.0007893, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003454/0.003454, allocations: 160 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8529/0.8529, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.717e-05, allocations: 3.266 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002718/0.002745, allocations: 2.284 MB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008639/0.003609, allocations: 0.7049 MB / 328.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-05/0.0037, allocations: 0 / 328.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.003829, allocations: 39.59 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.17e-05/0.0039, allocations: 63.48 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.004214, allocations: 99.62 kB / 329 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.004585, allocations: 278.9 kB / 329.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.004764, allocations: 75.61 kB / 329.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.004988, allocations: 167.7 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.005094, allocations: 91.64 kB / 329.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.005125, allocations: 28 kB / 329.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.005172, allocations: 24 kB / 329.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.005217, allocations: 51.83 kB / 329.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.312e-05/0.00529, allocations: 87.75 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.005546, allocations: 295.1 kB / 330.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.005549, allocations: 3.938 kB / 330.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.00555, allocations: 0 / 330.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005554, allocations: 0 / 330.1 MB, free: 11.05 MB / 298.7 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.0007261/0.00628, allocations: 0.6 MB / 330.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.006313, allocations: 11.98 kB / 330.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.00644, allocations: 36.78 kB / 330.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.006683, allocations: 185.3 kB / 330.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.165e-05/0.006755, allocations: 79.95 kB / 331 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.00678, allocations: 16.38 kB / 331 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.007155, allocations: 350.2 kB / 331.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.007166, allocations: 4.188 kB / 331.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.007186, allocations: 12.11 kB / 331.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.007192, allocations: 4 kB / 331.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.007487, allocations: 275.7 kB / 331.6 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007721/0.008259, allocations: 0.6394 MB / 332.3 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.008882, allocations: 334.5 kB / 332.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.009134, allocations: 264.3 kB / 332.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.009149, allocations: 0 / 332.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003372/0.009486, allocations: 417.4 kB / 333.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.012e-06/0.009487, allocations: 0 / 333.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007091/0.0102, allocations: 0.7386 MB / 334 MB, free: 6.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.01027, allocations: 199.9 kB / 334.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.01038, allocations: 186.3 kB / 334.4 MB, free: 6.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.0104, allocations: 41.7 kB / 334.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.01047, allocations: 132.8 kB / 334.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.01051, allocations: 87.36 kB / 334.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.01058, allocations: 62.03 kB / 334.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.01065, allocations: 338.8 kB / 335 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.01081, allocations: 201.7 kB / 335.2 MB, free: 5.508 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.01099, allocations: 294.1 kB / 335.5 MB, free: 5.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.0113, allocations: 412.5 kB / 335.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01131, allocations: 0 / 335.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004272/0.01173, allocations: 0.5307 MB / 336.4 MB, free: 4.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.01179, allocations: 104.2 kB / 336.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.01179, allocations: 3.938 kB / 336.5 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.01181, allocations: 8.094 kB / 336.5 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.01192, allocations: 39.91 kB / 336.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.01192, allocations: 0 / 336.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.444e-05/0.01201, allocations: 43.77 kB / 336.6 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.01202, allocations: 8 kB / 336.6 MB, free: 3.934 MB / 298.7 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.0001413/0.01216, allocations: 239.7 kB / 336.9 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.01219, allocations: 31.84 kB / 336.9 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.01222, allocations: 18.66 kB / 336.9 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01222, allocations: 11.92 kB / 336.9 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01222, allocations: 0 / 336.9 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01223, allocations: 3.938 kB / 336.9 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007596/0.01299, allocations: 0.8958 MB / 337.8 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01299, allocations: 4 kB / 337.8 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.01304, allocations: 27.97 kB / 337.9 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01305, allocations: 0 / 337.9 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.01306, allocations: 8 kB / 337.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01306, allocations: 7.938 kB / 337.9 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.01307, allocations: 3.938 kB / 337.9 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.01358, allocations: 0.6746 MB / 338.5 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.01361, allocations: 27.78 kB / 338.6 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.01364, allocations: 15.98 kB / 338.6 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.01374, allocations: 19.98 kB / 338.6 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.01379, allocations: 27.95 kB / 338.6 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.01381, allocations: 8 kB / 338.6 MB, free: 1.781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.53e-05/0.01387, allocations: 140.3 kB / 338.8 MB, free: 1.645 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01387, allocations: 0 / 338.8 MB, free: 1.645 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.01408, allocations: 71.95 kB / 338.9 MB, free: 1.574 MB / 298.7 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.0001093/0.01419, allocations: 129.4 kB / 339 MB, free: 1.434 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007425/0.01493, allocations: 0.6616 MB / 339.6 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01493, allocations: 0 / 339.6 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.01518, allocations: 366 kB / 340 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.01555, allocations: 151.2 kB / 340.1 MB, free: 176 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.01617, allocations: 0.6067 MB / 340.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.421e-05/0.01626, allocations: 141.7 kB / 340.9 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.0163, allocations: 20.5 kB / 340.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of SimCode: time 3.71e-07/0.0163, allocations: 0 / 340.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of Templates: time 0.003016/0.01932, allocations: 3.188 MB / 344.1 MB, free: 12.18 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.311636467464268]