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.001502/0.001503, allocations: 104.9 kB / 17.72 MB, free: 5.242 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.002177/0.002177, allocations: 188.1 kB / 18.66 MB, free: 4.312 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.685/1.685, allocations: 205.1 MB / 224.5 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.001224/0.001224, allocations: 47.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.122, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003788/0.1258, allocations: 2.33 MB / 377.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1272, allocations: 0.7135 MB / 378.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.1273, allocations: 3.938 kB / 378.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.1276, allocations: 31.7 kB / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.1277, allocations: 47.5 kB / 378.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.1281, allocations: 95.75 kB / 378.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.1286, allocations: 267 kB / 378.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.1289, allocations: 115 kB / 378.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.1292, allocations: 111.6 kB / 378.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.1294, allocations: 119.5 kB / 379 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.1295, allocations: 20 kB / 379 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.389e-05/0.1296, allocations: 27.94 kB / 379 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.716e-05/0.1297, allocations: 55.83 kB / 379.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.1298, allocations: 111.5 kB / 379.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.1302, allocations: 287 kB / 379.4 MB, free: 256 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.1303, allocations: 4 kB / 379.5 MB, free: 252 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1303, allocations: 3.938 kB / 379.5 MB, free: 248 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.1303, allocations: 4 kB / 379.5 MB, free: 244 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.3002/0.4305, allocations: 0.6528 MB / 380.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.4306, allocations: 9.031 kB / 380.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.4307, allocations: 28.12 kB / 380.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.4312, allocations: 241.9 kB / 380.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.601e-05/0.4313, allocations: 50.02 kB / 380.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.4314, allocations: 20.56 kB / 380.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007494/0.4321, allocations: 257.6 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4321, allocations: 3.938 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.4322, allocations: 8.312 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.4322, allocations: 7.625 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000527/0.4327, allocations: 202.3 kB / 380.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.4342, allocations: 0.7507 MB / 381.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/0.4349, allocations: 303.7 kB / 382 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/0.4355, allocations: 223.2 kB / 382.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.4355, allocations: 1.375 kB / 382.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006481/0.4362, allocations: 322 kB / 382.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 3.156e-06/0.4362, allocations: 6.688 kB / 382.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001355/0.4375, allocations: 0.5651 MB / 383.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.4377, allocations: 209.3 kB / 383.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.4379, allocations: 179.4 kB / 383.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.438, allocations: 37.06 kB / 383.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.4381, allocations: 141.9 kB / 383.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.4382, allocations: 76.81 kB / 383.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.4383, allocations: 72.03 kB / 383.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4384, allocations: 336.8 kB / 384.1 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.4387, allocations: 109.3 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.439, allocations: 174 kB / 384.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/0.4395, allocations: 410.1 kB / 384.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.4396, allocations: 5 kB / 384.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008191/0.4404, allocations: 443.7 kB / 385.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.4405, allocations: 96.7 kB / 385.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4405, allocations: 1.25 kB / 385.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.686e-05/0.4406, allocations: 7.719 kB / 385.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.4408, allocations: 41.84 kB / 385.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.4409, allocations: 7.484 kB / 385.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.4411, allocations: 36.89 kB / 385.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.4411, allocations: 13.5 kB / 385.4 MB, free: 10.12 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.000284/0.4414, allocations: 236.9 kB / 385.7 MB, free: 9.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.4415, allocations: 25.17 kB / 385.7 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.219e-05/0.4415, allocations: 26.86 kB / 385.7 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.4416, allocations: 5.969 kB / 385.7 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.4416, allocations: 1.25 kB / 385.7 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.4416, allocations: 1.219 kB / 385.7 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.4433, allocations: 0.9314 MB / 386.6 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4434, allocations: 3.938 kB / 386.6 MB, free: 9.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.4435, allocations: 29.27 kB / 386.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.4435, allocations: 1.188 kB / 386.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.4436, allocations: 11.45 kB / 386.7 MB, free: 9.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4436, allocations: 1.062 kB / 386.7 MB, free: 9.316 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4436, allocations: 1.734 kB / 386.7 MB, free: 9.316 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.4447, allocations: 0.6111 MB / 387.3 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.4447, allocations: 104.9 kB / 387.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.4448, allocations: 15.62 kB / 387.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.4451, allocations: 21.62 kB / 387.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.4452, allocations: 25.48 kB / 387.5 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.4452, allocations: 10.52 kB / 387.5 MB, free: 8.859 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.4453, allocations: 133.5 kB / 387.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4453, allocations: 0 / 387.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003976/0.4457, allocations: 74.34 kB / 387.7 MB, free: 8.754 MB / 318.1 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.0002715/0.446, allocations: 132 kB / 387.8 MB, free: 8.652 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.4472, allocations: 0.544 MB / 388.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.4472, allocations: 0 / 388.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.4478, allocations: 402.3 kB / 388.7 MB, free: 8.113 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008207/0.4486, allocations: 145.1 kB / 388.9 MB, free: 8.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.4498, allocations: 0.522 MB / 389.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.4501, allocations: 0.7462 MB / 390.2 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000197/0.4503, allocations: 56.59 kB / 390.2 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.4504, allocations: 20.59 kB / 390.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4504, allocations: 4 kB / 390.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of Templates: time 0.01199/0.4624, allocations: 4.291 MB / 394.5 MB, free: 6.711 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/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","/var/lib/jenkins/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