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.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.001795/0.001795, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 14.72 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.002283/0.002283, allocations: 208.8 kB / 25.24 MB, free: 3.562 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.499/1.499, allocations: 207.6 MB / 236 MB, free: 9.996 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.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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 56.3 kB / 348.5 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3042, allocations: 49.15 MB / 397.6 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003465/0.3076, allocations: 2.352 MB / 400 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.309, allocations: 0.7228 MB / 400.7 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.3091, allocations: 6 kB / 400.7 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.3092, allocations: 28.33 kB / 400.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.3094, allocations: 57.5 kB / 400.8 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.3097, allocations: 90.83 kB / 400.9 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.31, allocations: 273.5 kB / 401.1 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.3103, allocations: 81.31 kB / 401.2 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.3105, allocations: 124.4 kB / 401.3 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.3107, allocations: 110.8 kB / 401.4 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.743e-05/0.3107, allocations: 25.03 kB / 401.5 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.612e-05/0.3107, allocations: 22.66 kB / 401.5 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.431e-05/0.3108, allocations: 56.38 kB / 401.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.311, allocations: 117.7 kB / 401.7 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.3114, allocations: 287.2 kB / 401.9 MB, free: 6.949 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3114, allocations: 0 / 401.9 MB, free: 6.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3114, allocations: 1.188 kB / 401.9 MB, free: 6.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3114, allocations: 0 / 401.9 MB, free: 6.949 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.0009837/0.3123, allocations: 0.5926 MB / 402.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3124, allocations: 13.98 kB / 402.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.218e-05/0.3125, allocations: 35.25 kB / 402.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.3128, allocations: 179 kB / 402.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/0.3129, allocations: 77.34 kB / 402.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.3129, allocations: 18.22 kB / 402.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005757/0.3135, allocations: 263.8 kB / 403.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3135, allocations: 2.203 kB / 403.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.3135, allocations: 6.688 kB / 403.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3135, allocations: 8.469 kB / 403.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004933/0.314, allocations: 202.3 kB / 403.3 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.3153, allocations: 0.7249 MB / 404 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.3159, allocations: 261.6 kB / 404.3 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.3163, allocations: 186.5 kB / 404.5 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.3164, allocations: 10.25 kB / 404.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005925/0.317, allocations: 314.1 kB / 404.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.775e-06/0.317, allocations: 0 / 404.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001223/0.3182, allocations: 0.5789 MB / 405.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.3183, allocations: 208.8 kB / 405.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3184, allocations: 174.8 kB / 405.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.3185, allocations: 39.34 kB / 405.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.3185, allocations: 134.7 kB / 405.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.3186, allocations: 82.33 kB / 406 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.3187, allocations: 68.47 kB / 406.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.3188, allocations: 337.6 kB / 406.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.319, allocations: 106.1 kB / 406.5 MB, free: 3.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.3193, allocations: 169.5 kB / 406.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.3198, allocations: 414.2 kB / 407.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3198, allocations: 0 / 407.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006517/0.3204, allocations: 444.6 kB / 407.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.874e-05/0.3205, allocations: 96.23 kB / 407.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3205, allocations: 9.562 kB / 407.6 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3205, allocations: 3.609 kB / 407.6 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.3207, allocations: 37.73 kB / 407.6 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3207, allocations: 7.344 kB / 407.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.3209, allocations: 37 kB / 407.7 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.3209, allocations: 14.09 kB / 407.7 MB, free: 3.234 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.0001961/0.3211, allocations: 242.1 kB / 407.9 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.3212, allocations: 25.61 kB / 408 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/0.3212, allocations: 28.5 kB / 408 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3212, allocations: 1.938 kB / 408 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.3212, allocations: 1.375 kB / 408 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3212, allocations: 1.688 kB / 408 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.3225, allocations: 0.9075 MB / 408.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3225, allocations: 5.312 kB / 408.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.3227, allocations: 19.48 kB / 408.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3227, allocations: 1.375 kB / 408.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.3227, allocations: 11.66 kB / 408.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3227, allocations: 5.406 kB / 408.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3227, allocations: 1.375 kB / 408.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008734/0.3236, allocations: 0.6165 MB / 409.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.3236, allocations: 19.05 kB / 409.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.3237, allocations: 20.17 kB / 409.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.3239, allocations: 18.11 kB / 409.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.324, allocations: 21.83 kB / 409.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.3241, allocations: 13.97 kB / 409.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3242, allocations: 135.5 kB / 409.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3242, allocations: 0 / 409.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003922/0.3246, allocations: 82.3 kB / 409.9 MB, free: 1.973 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.0001439/0.3247, allocations: 134.9 kB / 410 MB, free: 1.871 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008471/0.3256, allocations: 0.523 MB / 410.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3256, allocations: 0 / 410.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004246/0.326, allocations: 318.6 kB / 410.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00074/0.3267, allocations: 159.1 kB / 411 MB, free: 1.344 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3278, allocations: 0.5619 MB / 411.6 MB, free: 1.012 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.328, allocations: 0.7474 MB / 412.3 MB, free: 316 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.509e-05/0.328, allocations: 26.19 kB / 412.3 MB, free: 304 kB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.328, allocations: 0 / 412.3 MB, free: 304 kB / 318.1 MB Notification: Performance of Templates: time 0.006169/0.3342, allocations: 3.121 MB / 415.4 MB, free: 14.74 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/jenkins1/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/jenkins1/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: 7.50149092101492]