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) 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 3.2.3+maint.om/package.mo", uses=false) 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=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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.001044, allocations: 114.5 kB / 18.41 MB, free: 4.688 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.001014/0.001014, allocations: 190.1 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB 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.001195/0.001195, allocations: 55.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06847/0.06968, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002919/0.07261, allocations: 2.329 MB / 378.2 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.07377, allocations: 0.7173 MB / 378.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.0739, allocations: 7.938 kB / 378.9 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.07404, allocations: 23.72 kB / 378.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.07416, allocations: 55.5 kB / 379 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.07446, allocations: 91.77 kB / 379.1 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.07478, allocations: 271 kB / 379.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.07499, allocations: 107 kB / 379.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.07519, allocations: 119.6 kB / 379.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.07536, allocations: 123.5 kB / 379.7 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.07542, allocations: 20 kB / 379.7 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.791e-05/0.07547, allocations: 24 kB / 379.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.07554, allocations: 55.78 kB / 379.8 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.07568, allocations: 119.4 kB / 379.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.07598, allocations: 274.9 kB / 380.1 MB, free: 240 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.07599, allocations: 0 / 380.1 MB, free: 240 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.076, allocations: 0 / 380.1 MB, free: 240 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.07601, allocations: 0 / 380.1 MB, free: 240 kB / 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.1321/0.2081, allocations: 0.674 MB / 380.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2081, allocations: 9.625 kB / 380.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.508e-05/0.2082, allocations: 27.77 kB / 380.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.2085, allocations: 247.3 kB / 381.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.781e-05/0.2086, allocations: 50.05 kB / 381.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.2086, allocations: 18.25 kB / 381.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005649/0.2092, allocations: 258.5 kB / 381.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2092, allocations: 6.094 kB / 381.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.2093, allocations: 5.688 kB / 381.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2093, allocations: 5.719 kB / 381.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.2098, allocations: 204.9 kB / 381.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.211, allocations: 0.7499 MB / 382.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.2115, allocations: 306.5 kB / 382.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.212, allocations: 221.4 kB / 382.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.212, allocations: 3.781 kB / 382.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005254/0.2125, allocations: 323 kB / 383.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.695e-06/0.2126, allocations: 3.328 kB / 383.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001155/0.2137, allocations: 0.5703 MB / 383.8 MB, free: 11.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.2138, allocations: 203.1 kB / 384 MB, free: 11.63 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2139, allocations: 187.1 kB / 384.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.214, allocations: 35.58 kB / 384.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.214, allocations: 137.5 kB / 384.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.2141, allocations: 81.97 kB / 384.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.121e-05/0.2142, allocations: 74 kB / 384.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.2142, allocations: 333.2 kB / 384.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.2145, allocations: 106 kB / 384.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.2147, allocations: 181.3 kB / 385.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/0.2152, allocations: 415.7 kB / 385.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2152, allocations: 0 / 385.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006386/0.2159, allocations: 440.6 kB / 385.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.2159, allocations: 97.19 kB / 386 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2159, allocations: 1.812 kB / 386 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.216, allocations: 6.156 kB / 386 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.2162, allocations: 46.17 kB / 386.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2162, allocations: 6.25 kB / 386.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.2164, allocations: 34.89 kB / 386.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.2164, allocations: 9.344 kB / 386.1 MB, free: 10.14 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.0001668/0.2166, allocations: 248.4 kB / 386.4 MB, free: 9.922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.2166, allocations: 25.33 kB / 386.4 MB, free: 9.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.2167, allocations: 24.55 kB / 386.4 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2167, allocations: 6.188 kB / 386.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2167, allocations: 0 / 386.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.2167, allocations: 92.52 kB / 386.5 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.2168, allocations: 15.55 kB / 386.5 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.217, allocations: 21.75 kB / 386.6 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.2171, allocations: 28.16 kB / 386.6 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009962/0.2181, allocations: 0.7283 MB / 387.3 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008494/0.2189, allocations: 0.6828 MB / 388 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003572/0.2193, allocations: 238.9 kB / 388.2 MB, free: 8.863 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.811e-05/0.2194, allocations: 139.3 kB / 388.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of Backend: time 4.01e-07/0.2194, allocations: 0 / 388.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007231/0.2201, allocations: 490.8 kB / 388.8 MB, free: 8.43 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007709/0.2209, allocations: 0.9875 MB / 389.8 MB, free: 7.586 MB / 318.1 MB Notification: Performance of Templates: time 0.007032/0.228, allocations: 3.457 MB / 393.3 MB, free: 7.324 MB / 318.1 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/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) Reference file matches