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.001063/0.001063, allocations: 108.3 kB / 17.7 MB, free: 5.496 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.001262/0.001263, allocations: 183.8 kB / 18.62 MB, free: 4.578 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.31/1.31, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 51.92 kB / 351.9 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2282, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003268/0.2315, allocations: 2.371 MB / 403.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2326, allocations: 0.6622 MB / 404.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.631e-05/0.2327, allocations: 4 kB / 404.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.2329, allocations: 35.7 kB / 404.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.088e-05/0.233, allocations: 47.5 kB / 404.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.2333, allocations: 107.6 kB / 404.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.2336, allocations: 259.1 kB / 404.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.2338, allocations: 115 kB / 404.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.234, allocations: 115.6 kB / 405.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.2341, allocations: 115.5 kB / 405.2 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.2342, allocations: 24 kB / 405.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.485e-05/0.2342, allocations: 24 kB / 405.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.2343, allocations: 51.83 kB / 405.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.2344, allocations: 115.4 kB / 405.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.2347, allocations: 288.1 kB / 405.7 MB, free: 4.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2347, allocations: 0 / 405.7 MB, free: 4.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2347, allocations: 4 kB / 405.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2347, allocations: 0 / 405.7 MB, free: 4.551 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.001065/0.2358, allocations: 0.6678 MB / 406.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2358, allocations: 8.031 kB / 406.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.827e-05/0.2359, allocations: 28.66 kB / 406.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.2362, allocations: 245.2 kB / 406.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.27e-05/0.2363, allocations: 46.25 kB / 406.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.2364, allocations: 24.38 kB / 406.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/0.2369, allocations: 256.2 kB / 406.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2369, allocations: 0 / 406.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.237, allocations: 8 kB / 406.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.237, allocations: 4 kB / 406.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.2374, allocations: 204.3 kB / 407.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.2387, allocations: 0.76 MB / 407.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/0.2393, allocations: 292.7 kB / 408.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.2397, allocations: 225.2 kB / 408.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2397, allocations: 11.89 kB / 408.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000478/0.2402, allocations: 317.1 kB / 408.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.2402, allocations: 0 / 408.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001154/0.2414, allocations: 0.5669 MB / 409.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.2415, allocations: 207.8 kB / 409.5 MB, free: 444 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.2417, allocations: 179.1 kB / 409.7 MB, free: 256 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.2417, allocations: 37.7 kB / 409.7 MB, free: 212 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2419, allocations: 132.7 kB / 409.8 MB, free: 72 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.052e-05/0.242, allocations: 87.09 kB / 409.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.2421, allocations: 66.03 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2422, allocations: 334.8 kB / 410.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.2424, allocations: 112.6 kB / 410.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.2427, allocations: 167.3 kB / 410.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.2432, allocations: 419.4 kB / 411 MB, free: 14.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2432, allocations: 0 / 411 MB, free: 14.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006623/0.2439, allocations: 441.4 kB / 411.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.667e-05/0.244, allocations: 97.09 kB / 411.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.244, allocations: 3.938 kB / 411.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.244, allocations: 7.984 kB / 411.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.2442, allocations: 39.91 kB / 411.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2442, allocations: 4 kB / 411.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.2444, allocations: 39.77 kB / 411.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.2445, allocations: 16 kB / 411.6 MB, free: 14.14 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.0002119/0.2447, allocations: 232.8 kB / 411.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.2447, allocations: 19.81 kB / 411.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.2448, allocations: 26.59 kB / 411.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.2448, allocations: 8 kB / 411.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2448, allocations: 3.984 kB / 411.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2448, allocations: 0 / 411.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.2461, allocations: 0.9317 MB / 412.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2461, allocations: 3.938 kB / 412.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.2463, allocations: 23.98 kB / 412.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.2463, allocations: 0 / 412.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.2463, allocations: 12 kB / 412.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2463, allocations: 7.938 kB / 412.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2463, allocations: 4.172 kB / 412.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009189/0.2472, allocations: 0.6126 MB / 413.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.2473, allocations: 104.7 kB / 413.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.2474, allocations: 15.98 kB / 413.6 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.2476, allocations: 27.98 kB / 413.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.2477, allocations: 19.97 kB / 413.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.2477, allocations: 12 kB / 413.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.879e-05/0.2478, allocations: 131.2 kB / 413.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2478, allocations: 0 / 413.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.2482, allocations: 79.84 kB / 413.9 MB, free: 11.73 MB / 334.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.0001705/0.2484, allocations: 140.9 kB / 414 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008548/0.2492, allocations: 0.5331 MB / 414.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2493, allocations: 0 / 414.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004842/0.2497, allocations: 406.6 kB / 415 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.2504, allocations: 145.3 kB / 415.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009957/0.2514, allocations: 0.5535 MB / 415.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.2517, allocations: 0.7406 MB / 416.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.2518, allocations: 31.42 kB / 416.4 MB, free: 9.074 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2518, allocations: 0 / 416.4 MB, free: 9.074 MB / 334.1 MB Notification: Performance of Templates: time 0.004856/0.2567, allocations: 3.085 MB / 419.5 MB, free: 6.008 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