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.001286/0.001286, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001834/0.001834, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.485/1.485, allocations: 177 MB / 204.1 MB, free: 9.133 MB / 190.1 MB " [Timeout remaining time 178] 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.924e-06/1.924e-06, allocations: 0 / 325 MB, free: 476 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.441e-05, allocations: 6.219 kB / 325 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.005548/0.005582, allocations: 2.285 MB / 327.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.007864, allocations: 0.7109 MB / 328 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.008024, allocations: 3.188 kB / 328 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.008224, allocations: 34.75 kB / 328.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.008424, allocations: 58.25 kB / 328.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005892/0.009013, allocations: 97.98 kB / 328.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005293/0.009543, allocations: 277.7 kB / 328.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.009851, allocations: 81.23 kB / 328.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004947/0.01035, allocations: 171 kB / 328.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.01063, allocations: 88.91 kB / 328.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.63e-05/0.01071, allocations: 22.78 kB / 328.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.01082, allocations: 24.62 kB / 328.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.01093, allocations: 56.19 kB / 328.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.01113, allocations: 86.58 kB / 329 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00064/0.01177, allocations: 300 kB / 329.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.01177, allocations: 1.125 kB / 329.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.01177, allocations: 0.6562 kB / 329.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.01178, allocations: 0 / 329.3 MB, free: 13.82 MB / 302.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.001543/0.01332, allocations: 0.5975 MB / 329.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.01338, allocations: 13.8 kB / 329.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.01363, allocations: 39.98 kB / 329.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.01413, allocations: 187.3 kB / 330.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.01425, allocations: 76.61 kB / 330.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.0143, allocations: 18.33 kB / 330.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009274/0.01523, allocations: 355.5 kB / 330.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.01525, allocations: 192 / 330.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.01529, allocations: 14.97 kB / 330.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.01531, allocations: 4.344 kB / 330.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008243/0.01613, allocations: 275.6 kB / 330.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.0179, allocations: 0.6292 MB / 331.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009064/0.01881, allocations: 331.5 kB / 331.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000688/0.0195, allocations: 263.5 kB / 332.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.01952, allocations: 2.031 kB / 332.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000902/0.02042, allocations: 420.5 kB / 332.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/0.02043, allocations: 0 / 332.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.002067/0.02249, allocations: 0.7387 MB / 333.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001974/0.02269, allocations: 200 kB / 333.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.02296, allocations: 186.8 kB / 333.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/0.02302, allocations: 46.75 kB / 333.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.02317, allocations: 137.4 kB / 333.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.02328, allocations: 81.44 kB / 333.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.02346, allocations: 69.67 kB / 333.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.02367, allocations: 337.3 kB / 334.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.02415, allocations: 202.3 kB / 334.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.0247, allocations: 285.2 kB / 334.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008961/0.02559, allocations: 415.1 kB / 335.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.0256, allocations: 0 / 335.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001197/0.0268, allocations: 0.529 MB / 335.7 MB, free: 8.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.0269, allocations: 99.62 kB / 335.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.02691, allocations: 1.969 kB / 335.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.02694, allocations: 6.75 kB / 335.8 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.02722, allocations: 43.41 kB / 335.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.02724, allocations: 3.281 kB / 335.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.02755, allocations: 37.48 kB / 335.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.02759, allocations: 10.06 kB / 335.9 MB, free: 8.793 MB / 302.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.0004054/0.02799, allocations: 249.7 kB / 336.1 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/0.02807, allocations: 25.14 kB / 336.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.298e-05/0.02814, allocations: 21.38 kB / 336.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.02815, allocations: 2.938 kB / 336.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.02816, allocations: 3.984 kB / 336.2 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.02817, allocations: 5.594 kB / 336.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.03039, allocations: 0.9045 MB / 337.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.03039, allocations: 0.9375 kB / 337.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.03056, allocations: 19.7 kB / 337.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.03057, allocations: 1.844 kB / 337.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.03061, allocations: 8.688 kB / 337.1 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/0.03062, allocations: 9.328 kB / 337.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.03062, allocations: 5.219 kB / 337.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.03226, allocations: 0.6724 MB / 337.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.03231, allocations: 27.03 kB / 337.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.539e-05/0.03241, allocations: 17.17 kB / 337.8 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.03277, allocations: 24.83 kB / 337.9 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.03289, allocations: 20.47 kB / 337.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.03293, allocations: 11.45 kB / 337.9 MB, free: 7.328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.0331, allocations: 132.4 kB / 338 MB, free: 7.227 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0331, allocations: 0 / 338 MB, free: 7.227 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006227/0.03372, allocations: 74.3 kB / 338.1 MB, free: 7.215 MB / 302.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.0002514/0.03397, allocations: 129.4 kB / 338.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.03543, allocations: 0.6577 MB / 338.9 MB, free: 6.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.03544, allocations: 0 / 338.9 MB, free: 6.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007979/0.03623, allocations: 370.2 kB / 339.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.03741, allocations: 160.4 kB / 339.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.03899, allocations: 0.5698 MB / 340 MB, free: 5.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.03919, allocations: 141.7 kB / 340.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002392/0.03943, allocations: 49.89 kB / 340.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.03953, allocations: 24.5 kB / 340.2 MB, free: 5.043 MB / 302.1 MB Notification: Performance of SimCode: time 6.92e-07/0.03953, allocations: 7.938 kB / 340.2 MB, free: 5.035 MB / 302.1 MB Notification: Performance of Templates: time 0.01419/0.05371, allocations: 4.485 MB / 344.7 MB, free: 0.6289 MB / 302.1 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.559648185968399]