Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001743/0.001743, allocations: 175.4 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008207/0.0008206, allocations: 89.34 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003808, allocations: 8 kB / 327.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2515, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002296/0.2539, allocations: 1.966 MB / 377 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000976/0.2549, allocations: 0.6695 MB / 377.7 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.76e-05/0.255, allocations: 2.688 kB / 377.7 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.2551, allocations: 27.11 kB / 377.7 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/0.2552, allocations: 45.92 kB / 377.8 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.2555, allocations: 70.06 kB / 377.9 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.2557, allocations: 233.9 kB / 378.1 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.256, allocations: 100 kB / 378.2 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.2562, allocations: 94.81 kB / 378.3 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.2563, allocations: 93.97 kB / 378.4 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.2563, allocations: 10.12 kB / 378.4 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.553e-05/0.2564, allocations: 11.53 kB / 378.4 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.2564, allocations: 33.44 kB / 378.4 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.2566, allocations: 127.3 kB / 378.5 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.2568, allocations: 206.7 kB / 378.7 MB, free: 42.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2568, allocations: 0 / 378.7 MB, free: 42.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2568, allocations: 0 / 378.7 MB, free: 42.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2568, allocations: 5.594 kB / 378.8 MB, free: 42.64 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.0008629/0.2577, allocations: 0.6237 MB / 379.4 MB, free: 42.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2577, allocations: 14.09 kB / 379.4 MB, free: 42.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/0.2578, allocations: 34.39 kB / 379.4 MB, free: 42.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.258, allocations: 240.4 kB / 379.7 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/0.2581, allocations: 48.3 kB / 379.7 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.2582, allocations: 17.38 kB / 379.7 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.2587, allocations: 264.3 kB / 380 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2588, allocations: 3.938 kB / 380 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.2588, allocations: 11.84 kB / 380 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.2588, allocations: 3.906 kB / 380 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.2593, allocations: 216.8 kB / 380.2 MB, free: 41.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.2604, allocations: 0.7781 MB / 381 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/0.261, allocations: 296.8 kB / 381.3 MB, free: 40.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.2615, allocations: 238.2 kB / 381.5 MB, free: 40.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.2615, allocations: 2.562 kB / 381.5 MB, free: 40.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004749/0.262, allocations: 327.4 kB / 381.8 MB, free: 40.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.462e-06/0.262, allocations: 0 / 381.8 MB, free: 40.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.00118/0.2632, allocations: 0.5837 MB / 382.4 MB, free: 40.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.2633, allocations: 204.3 kB / 382.6 MB, free: 39.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.2634, allocations: 186.3 kB / 382.8 MB, free: 39.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.2635, allocations: 34.92 kB / 382.8 MB, free: 39.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.2635, allocations: 134 kB / 383 MB, free: 39.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.2636, allocations: 80.89 kB / 383 MB, free: 39.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.2636, allocations: 4.969 kB / 383 MB, free: 39.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.2637, allocations: 336.8 kB / 383.4 MB, free: 39.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.2639, allocations: 117.2 kB / 383.5 MB, free: 39.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.2642, allocations: 174.8 kB / 383.7 MB, free: 38.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.2647, allocations: 418.1 kB / 384.1 MB, free: 38.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2647, allocations: 0 / 384.1 MB, free: 38.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006932/0.2654, allocations: 457.2 kB / 384.5 MB, free: 38.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.847e-05/0.2655, allocations: 95.84 kB / 384.6 MB, free: 38.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2655, allocations: 5.219 kB / 384.6 MB, free: 38.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2655, allocations: 7.219 kB / 384.6 MB, free: 38.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.2657, allocations: 36.02 kB / 384.7 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.2658, allocations: 12.08 kB / 384.7 MB, free: 38.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.2659, allocations: 45.08 kB / 384.7 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.266, allocations: 17.2 kB / 384.7 MB, free: 38.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.2662, allocations: 229.3 kB / 385 MB, free: 37.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.2662, allocations: 25.34 kB / 385 MB, free: 37.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.2663, allocations: 25.33 kB / 385 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2663, allocations: 2.438 kB / 385 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2663, allocations: 1.75 kB / 385 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2663, allocations: 4 kB / 385 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.2676, allocations: 0.9457 MB / 386 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2676, allocations: 0 / 386 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.2677, allocations: 25.55 kB / 386 MB, free: 37.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2677, allocations: 5.125 kB / 386 MB, free: 37.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.2678, allocations: 12.8 kB / 386 MB, free: 37.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2678, allocations: 2.094 kB / 386 MB, free: 37.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2678, allocations: 0 / 386 MB, free: 37.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007921/0.2686, allocations: 0.6249 MB / 386.6 MB, free: 36.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.2686, allocations: 108.9 kB / 386.7 MB, free: 36.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.2687, allocations: 12 kB / 386.7 MB, free: 36.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.2689, allocations: 39.91 kB / 386.8 MB, free: 36.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.269, allocations: 23.91 kB / 386.8 MB, free: 36.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.269, allocations: 11.98 kB / 386.8 MB, free: 36.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.492e-05/0.2691, allocations: 131.2 kB / 386.9 MB, free: 36.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2691, allocations: 0 / 386.9 MB, free: 36.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002938/0.2694, allocations: 75.84 kB / 387 MB, free: 36.19 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000137/0.2696, allocations: 132.8 kB / 387.1 MB, free: 36.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006521/0.2702, allocations: 0.5603 MB / 387.7 MB, free: 35.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2702, allocations: 0 / 387.7 MB, free: 35.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.2706, allocations: 410 kB / 388.1 MB, free: 35.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005868/0.2712, allocations: 120 kB / 388.2 MB, free: 34.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.272, allocations: 0.6275 MB / 388.9 MB, free: 34.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.2722, allocations: 0.7447 MB / 389.6 MB, free: 33.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.2723, allocations: 19.44 kB / 389.6 MB, free: 33.46 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2723, allocations: 4 kB / 389.6 MB, free: 33.46 MB / 298.7 MB Notification: Performance of Templates: time 0.003877/0.2761, allocations: 3.078 MB / 392.7 MB, free: 30.4 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches