Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 216.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 47.92 kB / 378.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2801, allocations: 53.36 MB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004228/0.2843, allocations: 2.406 MB / 434 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.2861, allocations: 0.7595 MB / 434.8 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.2863, allocations: 7.938 kB / 434.8 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.2865, allocations: 27.72 kB / 434.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.2866, allocations: 55.5 kB / 434.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.2871, allocations: 111.7 kB / 435 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.2875, allocations: 271 kB / 435.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.2877, allocations: 72.38 kB / 435.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.288, allocations: 123.6 kB / 435.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.2882, allocations: 115.5 kB / 435.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.2883, allocations: 31.94 kB / 435.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.457e-05/0.2883, allocations: 24 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.769e-05/0.2884, allocations: 59.81 kB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.2886, allocations: 119.3 kB / 435.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004123/0.289, allocations: 284.1 kB / 436.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.289, allocations: 0 / 436.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.289, allocations: 0 / 436.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.289, allocations: 0 / 436.1 MB, free: 2.473 MB / 334.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.001165/0.2902, allocations: 0.604 MB / 436.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2902, allocations: 12.03 kB / 436.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.2904, allocations: 40.73 kB / 436.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.2907, allocations: 186.1 kB / 436.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.2909, allocations: 75.75 kB / 437 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.2909, allocations: 20.38 kB / 437 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005877/0.2915, allocations: 260.3 kB / 437.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2915, allocations: 0 / 437.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.2915, allocations: 4 kB / 437.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.2915, allocations: 4 kB / 437.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005284/0.2921, allocations: 208.3 kB / 437.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.2935, allocations: 0.7282 MB / 438.2 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.2941, allocations: 255.2 kB / 438.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/0.2945, allocations: 185.9 kB / 438.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.2946, allocations: 4 kB / 438.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005556/0.2951, allocations: 322.4 kB / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.2951, allocations: 0 / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001244/0.2964, allocations: 0.5793 MB / 439.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/0.2965, allocations: 199.9 kB / 439.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.2967, allocations: 182.7 kB / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.2967, allocations: 37.69 kB / 439.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2968, allocations: 136.9 kB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.374e-05/0.2969, allocations: 91.3 kB / 440.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.297, allocations: 70.02 kB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2972, allocations: 334.8 kB / 440.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.2975, allocations: 108.6 kB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.2978, allocations: 179 kB / 440.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/0.2984, allocations: 410.7 kB / 441.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2984, allocations: 0 / 441.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007474/0.2991, allocations: 438.3 kB / 441.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-05/0.2992, allocations: 93.09 kB / 441.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2992, allocations: 12.03 kB / 441.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2992, allocations: 0 / 441.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.2994, allocations: 39.92 kB / 441.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2994, allocations: 7.984 kB / 441.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.2996, allocations: 35.84 kB / 441.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.2996, allocations: 15.98 kB / 441.9 MB, free: 12.27 MB / 350.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.0002536/0.2999, allocations: 243.6 kB / 442.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.2999, allocations: 27.86 kB / 442.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.3, allocations: 30.58 kB / 442.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3, allocations: 192 / 442.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.3, allocations: 0 / 442.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3, allocations: 3.938 kB / 442.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.3015, allocations: 0.9113 MB / 443.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3015, allocations: 0 / 443.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3016, allocations: 19.98 kB / 443.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3016, allocations: 0 / 443.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.3016, allocations: 11.98 kB / 443.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3016, allocations: 15.91 kB / 443.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3016, allocations: 0 / 443.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.3026, allocations: 0.6169 MB / 443.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.3027, allocations: 27.78 kB / 443.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.3027, allocations: 16 kB / 443.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.303, allocations: 23.97 kB / 443.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.303, allocations: 19.97 kB / 443.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.3031, allocations: 12 kB / 443.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.3032, allocations: 139.2 kB / 444 MB, free: 10.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3032, allocations: 0 / 444 MB, free: 10.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003514/0.3035, allocations: 79.95 kB / 444 MB, free: 9.973 MB / 350.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.0001534/0.3037, allocations: 129.2 kB / 444.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008955/0.3046, allocations: 0.5175 MB / 444.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3046, allocations: 0 / 444.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004842/0.3051, allocations: 317.7 kB / 445 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.3058, allocations: 148.4 kB / 445.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3068, allocations: 0.5408 MB / 445.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.3073, allocations: 0.7484 MB / 446.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.3074, allocations: 49.89 kB / 446.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.3075, allocations: 23.42 kB / 446.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3075, allocations: 0 / 446.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of Templates: time 0.009261/0.3167, allocations: 4.438 MB / 450.9 MB, free: 3.012 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.654706767061725]