Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001925/0.001925, allocations: 104.5 kB / 21.18 MB, free: 0.707 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.002125/0.002125, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 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 1.809/1.809, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 58.56 kB / 347.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4317, allocations: 49.15 MB / 396.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.00497/0.4366, allocations: 2.347 MB / 399.2 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.4385, allocations: 0.7236 MB / 399.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.4387, allocations: 6.562 kB / 399.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.4389, allocations: 27.83 kB / 399.9 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.439, allocations: 57.16 kB / 400 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.4396, allocations: 91.14 kB / 400.1 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.44, allocations: 273.2 kB / 400.3 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002956/0.4403, allocations: 77.77 kB / 400.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.4406, allocations: 124.4 kB / 400.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.4408, allocations: 117.8 kB / 400.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.414e-05/0.4409, allocations: 21.53 kB / 400.7 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.083e-05/0.441, allocations: 22.97 kB / 400.7 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.634e-05/0.4411, allocations: 56.17 kB / 400.7 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.4412, allocations: 121.1 kB / 400.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.4417, allocations: 287.4 kB / 401.1 MB, free: 6.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4417, allocations: 1 kB / 401.1 MB, free: 6.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4417, allocations: 0 / 401.1 MB, free: 6.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.4417, allocations: 0 / 401.1 MB, free: 6.75 MB / 318.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.001214/0.4429, allocations: 0.59 MB / 401.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.606e-05/0.443, allocations: 13.61 kB / 401.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.773e-05/0.4431, allocations: 30.75 kB / 401.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.4434, allocations: 190.7 kB / 402 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.064e-05/0.4435, allocations: 51.12 kB / 402 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.4436, allocations: 17.91 kB / 402 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.4443, allocations: 266.1 kB / 402.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.4443, allocations: 0 / 402.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.4444, allocations: 7.359 kB / 402.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.4444, allocations: 4.094 kB / 402.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.4449, allocations: 199.5 kB / 402.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.4465, allocations: 0.7349 MB / 403.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.4472, allocations: 264.4 kB / 403.5 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.4477, allocations: 183 kB / 403.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.4477, allocations: 6.062 kB / 403.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006212/0.4483, allocations: 311.9 kB / 404 MB, free: 5.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.4483, allocations: 0 / 404 MB, free: 5.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001388/0.4497, allocations: 0.5761 MB / 404.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.4498, allocations: 207.6 kB / 404.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.45, allocations: 179.1 kB / 404.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.45, allocations: 37 kB / 405 MB, free: 4.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.4501, allocations: 136.5 kB / 405.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.912e-05/0.4502, allocations: 79.11 kB / 405.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.4503, allocations: 69.31 kB / 405.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.4504, allocations: 336.5 kB / 405.6 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.4507, allocations: 110.1 kB / 405.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.451, allocations: 173.6 kB / 405.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.4516, allocations: 410 kB / 406.2 MB, free: 3.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.4516, allocations: 4.031 kB / 406.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007998/0.4524, allocations: 445.3 kB / 406.7 MB, free: 3.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.397e-05/0.4524, allocations: 92 kB / 406.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4524, allocations: 5.25 kB / 406.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.4525, allocations: 3.719 kB / 406.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.4527, allocations: 44.81 kB / 406.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.4527, allocations: 3.922 kB / 406.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.4529, allocations: 37.78 kB / 406.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.453, allocations: 13.12 kB / 406.9 MB, free: 3.066 MB / 318.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.0002614/0.4532, allocations: 242.8 kB / 407.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.4533, allocations: 25.89 kB / 407.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.4533, allocations: 29.44 kB / 407.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4533, allocations: 2 kB / 407.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4534, allocations: 0 / 407.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4534, allocations: 1.359 kB / 407.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.455, allocations: 0.9069 MB / 408.1 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.455, allocations: 1.375 kB / 408.1 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.4551, allocations: 24.94 kB / 408.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.4551, allocations: 1.375 kB / 408.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.4552, allocations: 11.8 kB / 408.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4552, allocations: 1.375 kB / 408.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4552, allocations: 0 / 408.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.4563, allocations: 0.6161 MB / 408.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.4563, allocations: 20.19 kB / 408.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.945e-05/0.4564, allocations: 24.05 kB / 408.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.4567, allocations: 17.53 kB / 408.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4568, allocations: 21.97 kB / 408.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.4568, allocations: 22.39 kB / 408.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.4569, allocations: 135.1 kB / 409 MB, free: 1.816 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4569, allocations: 0 / 409 MB, free: 1.816 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000403/0.4573, allocations: 79.77 kB / 409 MB, free: 1.801 MB / 318.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.0002002/0.4575, allocations: 134.5 kB / 409.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.4585, allocations: 0.5144 MB / 409.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4585, allocations: 4.188 kB / 409.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.459, allocations: 316.9 kB / 410 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007942/0.4598, allocations: 139.8 kB / 410.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.461, allocations: 0.5374 MB / 410.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.4613, allocations: 0.7463 MB / 411.4 MB, free: 192 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.4615, allocations: 54.55 kB / 411.5 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.4616, allocations: 20.73 kB / 411.5 MB, free: 172 kB / 318.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4616, allocations: 0 / 411.5 MB, free: 172 kB / 318.1 MB Notification: Performance of Templates: time 0.01144/0.473, allocations: 4.453 MB / 416 MB, free: 13.98 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.653217862360179]