Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 178.4 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.6 MB / 223.7 MB, free: 8.961 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008579/0.0008579, allocations: 82.44 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.0002941, allocations: 4 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2824, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002896/0.2854, allocations: 1.97 MB / 378.6 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.2868, allocations: 0.9126 MB / 379.5 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.287, allocations: 7.25 kB / 379.5 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.2872, allocations: 22.34 kB / 379.5 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.2873, allocations: 49.98 kB / 379.6 MB, free: 43.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.2876, allocations: 73.67 kB / 379.6 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.288, allocations: 244.7 kB / 379.9 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.2883, allocations: 103.5 kB / 380 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.2886, allocations: 90.58 kB / 380.1 MB, free: 42.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.2887, allocations: 94.84 kB / 380.2 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.2888, allocations: 13.81 kB / 380.2 MB, free: 42.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.874e-05/0.2888, allocations: 10.19 kB / 380.2 MB, free: 42.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.2889, allocations: 42.89 kB / 380.2 MB, free: 42.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.2891, allocations: 123.3 kB / 380.3 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.2894, allocations: 266.1 kB / 380.6 MB, free: 42.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2894, allocations: 1.344 kB / 380.6 MB, free: 42.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.2894, allocations: 3.938 kB / 380.6 MB, free: 42.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2894, allocations: 3.938 kB / 380.6 MB, free: 42.45 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.0009389/0.2903, allocations: 0.6306 MB / 381.2 MB, free: 41.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.2904, allocations: 10.19 kB / 381.2 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.105e-05/0.2905, allocations: 26.44 kB / 381.3 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.2908, allocations: 249.2 kB / 381.5 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.633e-05/0.2909, allocations: 48.64 kB / 381.6 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.2909, allocations: 17.62 kB / 381.6 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006266/0.2916, allocations: 267.6 kB / 381.8 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2916, allocations: 0.9375 kB / 381.8 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.2916, allocations: 10.25 kB / 381.9 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.2916, allocations: 4.312 kB / 381.9 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.2921, allocations: 213.7 kB / 382.1 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.2934, allocations: 0.7744 MB / 382.8 MB, free: 40.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.294, allocations: 300 kB / 383.1 MB, free: 40.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/0.2945, allocations: 231.3 kB / 383.4 MB, free: 40.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2945, allocations: 1.562 kB / 383.4 MB, free: 40.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00054/0.2951, allocations: 328.1 kB / 383.7 MB, free: 40.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 3.616e-06/0.2951, allocations: 0 / 383.7 MB, free: 40.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001243/0.2963, allocations: 0.5893 MB / 384.3 MB, free: 39.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.2964, allocations: 207.5 kB / 384.5 MB, free: 39.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.2966, allocations: 182.9 kB / 384.7 MB, free: 39.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.2967, allocations: 38.89 kB / 384.7 MB, free: 39.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.2968, allocations: 130.2 kB / 384.8 MB, free: 39.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.2968, allocations: 76.47 kB / 384.9 MB, free: 39.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/0.2968, allocations: 12.94 kB / 384.9 MB, free: 39.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.714e-05/0.2969, allocations: 329 kB / 385.2 MB, free: 38.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.2972, allocations: 116.3 kB / 385.3 MB, free: 38.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.2975, allocations: 175.2 kB / 385.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/0.298, allocations: 427.9 kB / 385.9 MB, free: 38.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2981, allocations: 0 / 385.9 MB, free: 38.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007559/0.2988, allocations: 449 kB / 386.4 MB, free: 38.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.752e-05/0.2989, allocations: 96.75 kB / 386.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2989, allocations: 5.406 kB / 386.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.299, allocations: 2.938 kB / 386.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.2992, allocations: 44.89 kB / 386.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.2992, allocations: 2.938 kB / 386.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.2994, allocations: 49.02 kB / 386.6 MB, free: 37.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.2995, allocations: 9.312 kB / 386.6 MB, free: 37.99 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 ($PRE.dA_Converter.y,dA_Converter.y,$PRE.aD_Converter.z,aD_Converter.z,$PRE.aD_Converter.y[1],aD_Converter.y[1],$PRE.aD_Converter.y[2],aD_Converter.y[2],$PRE.aD_Converter.y[3],aD_Converter.y[3],$PRE.aD_Converter.y[4],aD_Converter.y[4],$PRE.aD_Converter.y[5],aD_Converter.y[5],$PRE.aD_Converter.y[6],aD_Converter.y[6],$PRE.aD_Converter.y[7],aD_Converter.y[7],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],$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.T0,pulse.T0,$PRE.pulse.np,pulse.np,pulse.sampling,dA_Converter.trig,$PRE.dA_Converter.vout,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.0002442/0.2997, allocations: 237 kB / 386.8 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.2998, allocations: 21.28 kB / 386.8 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.2998, allocations: 34.92 kB / 386.9 MB, free: 37.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2999, allocations: 1.781 kB / 386.9 MB, free: 37.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.2999, allocations: 0 / 386.9 MB, free: 37.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2999, allocations: 1.219 kB / 386.9 MB, free: 37.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.3011, allocations: 0.9536 MB / 387.8 MB, free: 36.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3011, allocations: 0 / 387.8 MB, free: 36.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3012, allocations: 23.92 kB / 387.8 MB, free: 36.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.3012, allocations: 3.984 kB / 387.8 MB, free: 36.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.3012, allocations: 16.17 kB / 387.9 MB, free: 36.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3013, allocations: 0 / 387.9 MB, free: 36.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3013, allocations: 3.938 kB / 387.9 MB, free: 36.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007299/0.302, allocations: 0.6176 MB / 388.5 MB, free: 36.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.3021, allocations: 104.8 kB / 388.6 MB, free: 35.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.3021, allocations: 16 kB / 388.6 MB, free: 35.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3023, allocations: 27.97 kB / 388.6 MB, free: 35.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.3024, allocations: 23.92 kB / 388.7 MB, free: 35.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.3024, allocations: 19.97 kB / 388.7 MB, free: 35.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.52e-05/0.3025, allocations: 127.2 kB / 388.8 MB, free: 35.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3025, allocations: 4 kB / 388.8 MB, free: 35.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003126/0.3028, allocations: 79.84 kB / 388.9 MB, free: 35.6 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.0001654/0.303, allocations: 134.2 kB / 389 MB, free: 35.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007125/0.3037, allocations: 0.5526 MB / 389.6 MB, free: 34.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3038, allocations: 0 / 389.6 MB, free: 34.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.3042, allocations: 414.8 kB / 390 MB, free: 34.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.3048, allocations: 134 kB / 390.1 MB, free: 34.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008881/0.3057, allocations: 0.6133 MB / 390.7 MB, free: 33.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.3059, allocations: 0.7447 MB / 391.5 MB, free: 32.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.3061, allocations: 57.88 kB / 391.5 MB, free: 32.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.3061, allocations: 23.38 kB / 391.5 MB, free: 32.83 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3061, allocations: 0 / 391.5 MB, free: 32.83 MB / 298.7 MB Notification: Performance of Templates: time 0.006499/0.3126, allocations: 3.981 MB / 395.5 MB, free: 28.88 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches