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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 106.9 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008142/0.0008143, allocations: 39.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3107, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.00345/0.3142, allocations: 2.414 MB / 401.9 MB, free: 30.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3153, allocations: 0.6749 MB / 402.6 MB, free: 30.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.3155, allocations: 3.938 kB / 402.6 MB, free: 30.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.3156, allocations: 23.84 kB / 402.6 MB, free: 30.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.468e-05/0.3158, allocations: 43.62 kB / 402.6 MB, free: 30.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.3161, allocations: 75.86 kB / 402.7 MB, free: 30.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.3163, allocations: 247 kB / 402.9 MB, free: 29.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.3165, allocations: 106.8 kB / 403 MB, free: 29.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.3167, allocations: 103.6 kB / 403.1 MB, free: 29.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.3169, allocations: 111.5 kB / 403.3 MB, free: 29.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.3169, allocations: 16 kB / 403.3 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.912e-05/0.317, allocations: 16 kB / 403.3 MB, free: 29.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.3171, allocations: 47.84 kB / 403.3 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3172, allocations: 123.3 kB / 403.5 MB, free: 29.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.3174, allocations: 260.7 kB / 403.7 MB, free: 29.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3174, allocations: 0 / 403.7 MB, free: 29.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3174, allocations: 0 / 403.7 MB, free: 29.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3175, allocations: 3.938 kB / 403.7 MB, free: 29.1 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.0009584/0.3184, allocations: 0.664 MB / 404.4 MB, free: 28.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3185, allocations: 12.02 kB / 404.4 MB, free: 28.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.3186, allocations: 28.66 kB / 404.4 MB, free: 28.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.3188, allocations: 242.2 kB / 404.6 MB, free: 28.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.3189, allocations: 46.27 kB / 404.7 MB, free: 28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.319, allocations: 20.38 kB / 404.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.3195, allocations: 264.2 kB / 405 MB, free: 27.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3196, allocations: 4 kB / 405 MB, free: 27.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.3196, allocations: 8 kB / 405 MB, free: 27.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3196, allocations: 4 kB / 405 MB, free: 27.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.32, allocations: 204.1 kB / 405.2 MB, free: 27.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.3212, allocations: 0.764 MB / 406 MB, free: 26.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.3217, allocations: 295.2 kB / 406.2 MB, free: 26.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.3221, allocations: 229 kB / 406.5 MB, free: 26.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3221, allocations: 7.938 kB / 406.5 MB, free: 26.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004346/0.3226, allocations: 308.3 kB / 406.8 MB, free: 25.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.963e-06/0.3226, allocations: 4 kB / 406.8 MB, free: 25.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001006/0.3236, allocations: 0.5635 MB / 407.3 MB, free: 25.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.3237, allocations: 207.9 kB / 407.5 MB, free: 24.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3238, allocations: 182.2 kB / 407.7 MB, free: 24.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.3238, allocations: 41.69 kB / 407.8 MB, free: 24.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.3239, allocations: 136.7 kB / 407.9 MB, free: 24.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.324, allocations: 71.09 kB / 408 MB, free: 24.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.324, allocations: 70.02 kB / 408 MB, free: 24.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.3241, allocations: 330.8 kB / 408.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.3243, allocations: 116.6 kB / 408.5 MB, free: 24.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.3246, allocations: 171.3 kB / 408.6 MB, free: 23.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.325, allocations: 407.5 kB / 409 MB, free: 23.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3251, allocations: 0 / 409 MB, free: 23.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005519/0.3256, allocations: 446.1 kB / 409.5 MB, free: 22.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.3257, allocations: 93.09 kB / 409.6 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3257, allocations: 3.938 kB / 409.6 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3257, allocations: 4 kB / 409.6 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.3259, allocations: 39.92 kB / 409.6 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.557e-06/0.3259, allocations: 7.984 kB / 409.6 MB, free: 22.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.3261, allocations: 39.72 kB / 409.7 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.3261, allocations: 19.98 kB / 409.7 MB, free: 22.7 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.0001657/0.3263, allocations: 233.6 kB / 409.9 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.3263, allocations: 27.72 kB / 409.9 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.3264, allocations: 26.58 kB / 410 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3264, allocations: 4 kB / 410 MB, free: 22.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3264, allocations: 4 kB / 410 MB, free: 22.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3264, allocations: 0 / 410 MB, free: 22.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.3275, allocations: 0.9317 MB / 410.9 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3275, allocations: 0 / 410.9 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.697e-05/0.3276, allocations: 23.92 kB / 410.9 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3277, allocations: 0 / 410.9 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.3277, allocations: 11.98 kB / 410.9 MB, free: 21.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3277, allocations: 4 kB / 410.9 MB, free: 21.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3277, allocations: 0 / 410.9 MB, free: 21.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.3288, allocations: 1.364 MB / 412.3 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.3289, allocations: 96.84 kB / 412.4 MB, free: 19.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.329, allocations: 23.92 kB / 412.4 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3292, allocations: 23.98 kB / 412.4 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.3292, allocations: 23.97 kB / 412.5 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3293, allocations: 12 kB / 412.5 MB, free: 19.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.701e-05/0.3294, allocations: 143.2 kB / 412.6 MB, free: 19.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3294, allocations: 3.938 kB / 412.6 MB, free: 19.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003996/0.3298, allocations: 71.84 kB / 412.7 MB, free: 19.5 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.000129/0.3299, allocations: 133 kB / 412.8 MB, free: 19.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006541/0.3306, allocations: 0.5475 MB / 413.4 MB, free: 18.78 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3306, allocations: 0 / 413.4 MB, free: 18.78 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.331, allocations: 402.6 kB / 413.8 MB, free: 18.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.3316, allocations: 135 kB / 413.9 MB, free: 18.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009682/0.3326, allocations: 0.8026 MB / 414.7 MB, free: 17.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.3328, allocations: 0.7525 MB / 415.4 MB, free: 16.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.333, allocations: 53.89 kB / 415.5 MB, free: 16.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.3331, allocations: 23.44 kB / 415.5 MB, free: 16.53 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3331, allocations: 0 / 415.5 MB, free: 16.53 MB / 298.7 MB Notification: Performance of Templates: time 0.006564/0.3396, allocations: 4.165 MB / 419.7 MB, free: 12.42 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches