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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 104.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 194.9 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 51.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2459, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003196/0.2491, allocations: 2.364 MB / 403.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2502, allocations: 0.666 MB / 404.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.2503, allocations: 11.94 kB / 404.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.2504, allocations: 35.66 kB / 404.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.846e-05/0.2505, allocations: 55.48 kB / 404.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.2508, allocations: 87.72 kB / 404.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.2511, allocations: 267.1 kB / 404.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.2513, allocations: 115 kB / 405 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.2515, allocations: 115.6 kB / 405.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.2517, allocations: 119.5 kB / 405.2 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.2517, allocations: 24 kB / 405.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.239e-05/0.2518, allocations: 24 kB / 405.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.2518, allocations: 51.83 kB / 405.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.252, allocations: 123.4 kB / 405.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.2522, allocations: 280.1 kB / 405.7 MB, free: 4.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2523, allocations: 0 / 405.7 MB, free: 4.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2523, allocations: 0 / 405.7 MB, free: 4.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2523, allocations: 0 / 405.7 MB, free: 4.555 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.0009615/0.2532, allocations: 0.66 MB / 406.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2533, allocations: 16.02 kB / 406.4 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.2534, allocations: 28.66 kB / 406.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.2536, allocations: 241.2 kB / 406.7 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.2537, allocations: 54.2 kB / 406.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.2538, allocations: 16.38 kB / 406.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.2543, allocations: 264.3 kB / 407 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2543, allocations: 0 / 407 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.2544, allocations: 4 kB / 407 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2544, allocations: 4 kB / 407 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004957/0.2549, allocations: 208.3 kB / 407.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.2562, allocations: 0.7522 MB / 408 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.2567, allocations: 295.2 kB / 408.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/0.2572, allocations: 230.4 kB / 408.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.2572, allocations: 3.953 kB / 408.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004999/0.2577, allocations: 313.1 kB / 408.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.2577, allocations: 0 / 408.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001143/0.2589, allocations: 0.5708 MB / 409.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.259, allocations: 211.9 kB / 409.6 MB, free: 448 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.2591, allocations: 175.1 kB / 409.7 MB, free: 264 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.2592, allocations: 37.7 kB / 409.8 MB, free: 220 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.2593, allocations: 136.7 kB / 409.9 MB, free: 76 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.2594, allocations: 83.03 kB / 410 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.2595, allocations: 69.97 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2596, allocations: 334.8 kB / 410.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.2598, allocations: 112.6 kB / 410.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.2601, allocations: 175.3 kB / 410.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.2607, allocations: 407.6 kB / 411.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2607, allocations: 3.938 kB / 411.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000679/0.2614, allocations: 441 kB / 411.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.678e-05/0.2614, allocations: 93.09 kB / 411.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.2614, allocations: 96 / 411.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2615, allocations: 11.94 kB / 411.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.2617, allocations: 44.09 kB / 411.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2617, allocations: 0 / 411.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.2619, allocations: 43.61 kB / 411.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.2619, allocations: 12 kB / 411.7 MB, free: 14.15 MB / 334.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.0002105/0.2621, allocations: 244.8 kB / 411.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.2622, allocations: 19.81 kB / 411.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/0.2622, allocations: 26.59 kB / 412 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2622, allocations: 3.984 kB / 412 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2622, allocations: 0 / 412 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.2623, allocations: 96.77 kB / 412.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.2624, allocations: 19.98 kB / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.2626, allocations: 23.98 kB / 412.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.2626, allocations: 19.97 kB / 412.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001088/0.2637, allocations: 0.737 MB / 412.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009305/0.2647, allocations: 0.6736 MB / 413.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003751/0.2651, allocations: 255.8 kB / 413.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.084e-05/0.2652, allocations: 131.2 kB / 413.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of Backend: time 2.3e-07/0.2652, allocations: 3.938 kB / 413.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007973/0.266, allocations: 480.4 kB / 414.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009273/0.2669, allocations: 0.9923 MB / 415.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of Templates: time 0.006257/0.2732, allocations: 3.45 MB / 418.8 MB, free: 6.809 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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