Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 200.3 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.608/1.608, allocations: 229.5 MB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001357, allocations: 103.9 kB / 299.8 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3344, allocations: 51.42 MB / 412 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002392/0.3369, allocations: 2.008 MB / 414.1 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3381, allocations: 1.152 MB / 415.2 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3382, allocations: 4 kB / 415.2 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.3384, allocations: 20.69 kB / 415.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.386e-05/0.3385, allocations: 45.16 kB / 415.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.3388, allocations: 80.8 kB / 415.4 MB, free: 22.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.339, allocations: 239.1 kB / 415.6 MB, free: 22.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.3392, allocations: 102.9 kB / 415.7 MB, free: 22.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.3394, allocations: 103.6 kB / 415.8 MB, free: 22.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.3396, allocations: 91.55 kB / 415.9 MB, free: 21.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.3396, allocations: 12 kB / 415.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.076e-05/0.3397, allocations: 12 kB / 415.9 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.3397, allocations: 43.78 kB / 415.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3399, allocations: 133.1 kB / 416.1 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.3401, allocations: 268.5 kB / 416.3 MB, free: 21.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3401, allocations: 0 / 416.3 MB, free: 21.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3402, allocations: 0 / 416.3 MB, free: 21.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.3402, allocations: 0 / 416.3 MB, free: 21.47 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.0008583/0.341, allocations: 0.6328 MB / 417 MB, free: 20.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3411, allocations: 8.031 kB / 417 MB, free: 20.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.3412, allocations: 44.55 kB / 417 MB, free: 20.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.3415, allocations: 236.6 kB / 417.3 MB, free: 20.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/0.3416, allocations: 42.27 kB / 417.3 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.3416, allocations: 24.38 kB / 417.3 MB, free: 20.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.3422, allocations: 272 kB / 417.6 MB, free: 20.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3422, allocations: 0 / 417.6 MB, free: 20.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.3422, allocations: 8 kB / 417.6 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3422, allocations: 4 kB / 417.6 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.3427, allocations: 220.2 kB / 417.8 MB, free: 19.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.3437, allocations: 0.7563 MB / 418.6 MB, free: 19.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.3442, allocations: 311.2 kB / 418.9 MB, free: 18.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/0.3446, allocations: 231.8 kB / 419.1 MB, free: 18.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.3446, allocations: 7.984 kB / 419.1 MB, free: 18.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004471/0.3451, allocations: 320.3 kB / 419.4 MB, free: 18.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.323e-06/0.3451, allocations: 0 / 419.4 MB, free: 18.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009955/0.3461, allocations: 0.5896 MB / 420 MB, free: 17.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.3462, allocations: 199.9 kB / 420.2 MB, free: 17.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.3464, allocations: 193.2 kB / 420.4 MB, free: 17.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.3464, allocations: 37.69 kB / 420.4 MB, free: 17.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.3465, allocations: 124.8 kB / 420.5 MB, free: 16.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.3465, allocations: 94.86 kB / 420.6 MB, free: 16.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.3465, allocations: 4 kB / 420.6 MB, free: 16.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.438e-05/0.3466, allocations: 334.8 kB / 421 MB, free: 16.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.3468, allocations: 112.6 kB / 421.1 MB, free: 16.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.3471, allocations: 183.2 kB / 421.3 MB, free: 16.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.3475, allocations: 413.5 kB / 421.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3475, allocations: 4 kB / 421.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005474/0.3481, allocations: 448.6 kB / 422.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.3481, allocations: 89.09 kB / 422.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3481, allocations: 7.938 kB / 422.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3482, allocations: 4.188 kB / 422.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.3484, allocations: 48 kB / 422.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3484, allocations: 7.875 kB / 422.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3486, allocations: 43.67 kB / 422.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.3486, allocations: 12 kB / 422.3 MB, free: 15.06 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.0001715/0.3488, allocations: 239.8 kB / 422.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.3488, allocations: 27.7 kB / 422.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.3489, allocations: 26.59 kB / 422.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3489, allocations: 0 / 422.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3489, allocations: 0 / 422.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.3489, allocations: 4 kB / 422.6 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.35, allocations: 0.9397 MB / 423.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.35, allocations: 0 / 423.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3501, allocations: 35.91 kB / 423.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3501, allocations: 0 / 423.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.3502, allocations: 8 kB / 423.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3502, allocations: 7.938 kB / 423.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3502, allocations: 0 / 423.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007289/0.3509, allocations: 0.6243 MB / 424.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.351, allocations: 96.86 kB / 424.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.351, allocations: 19.98 kB / 424.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3512, allocations: 23.98 kB / 424.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.3513, allocations: 19.97 kB / 424.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.3513, allocations: 12 kB / 424.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.943e-05/0.3514, allocations: 146.8 kB / 424.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3514, allocations: 0 / 424.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002871/0.3517, allocations: 75.84 kB / 424.6 MB, free: 12.62 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.0001603/0.3519, allocations: 135.8 kB / 424.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006861/0.3526, allocations: 0.5526 MB / 425.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3526, allocations: 0 / 425.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.353, allocations: 402.9 kB / 425.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006401/0.3536, allocations: 132.2 kB / 425.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008182/0.3545, allocations: 0.6211 MB / 426.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.3547, allocations: 0.7448 MB / 427.2 MB, free: 9.938 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.3548, allocations: 49.89 kB / 427.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.3549, allocations: 27.36 kB / 427.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3549, allocations: 4 kB / 427.3 MB, free: 9.855 MB / 298.7 MB Notification: Performance of Templates: time 0.006553/0.3614, allocations: 3.986 MB / 431.2 MB, free: 5.906 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches