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.001497/0.001497, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001549/0.001549, allocations: 203.7 kB / 23.73 MB, free: 4.379 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001735/0.001735, allocations: 44.03 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2813, allocations: 53.37 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003981/0.2853, allocations: 2.284 MB / 433.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2868, allocations: 0.6934 MB / 434.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.2869, allocations: 4 kB / 434.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.287, allocations: 35.66 kB / 434.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.2872, allocations: 51.5 kB / 434.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.2876, allocations: 111.7 kB / 434.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.2879, allocations: 263 kB / 435 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.2881, allocations: 82.88 kB / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.2884, allocations: 127.6 kB / 435.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.2886, allocations: 123.5 kB / 435.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.2886, allocations: 20 kB / 435.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.62e-05/0.2887, allocations: 24 kB / 435.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.561e-05/0.2888, allocations: 51.84 kB / 435.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.2889, allocations: 103.5 kB / 435.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.2893, allocations: 286.5 kB / 435.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2893, allocations: 0 / 435.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2893, allocations: 0 / 435.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2893, allocations: 0 / 435.8 MB, free: 2.445 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.001127/0.2904, allocations: 0.6079 MB / 436.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2905, allocations: 12.03 kB / 436.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.2907, allocations: 36.75 kB / 436.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.291, allocations: 182.2 kB / 436.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.2911, allocations: 83.69 kB / 436.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.2912, allocations: 20.38 kB / 436.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006843/0.2918, allocations: 361.3 kB / 437.1 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2919, allocations: 0 / 437.1 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.2919, allocations: 12 kB / 437.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2919, allocations: 4 kB / 437.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005707/0.2925, allocations: 271.7 kB / 437.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.2938, allocations: 0.6391 MB / 438 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006763/0.2945, allocations: 333.1 kB / 438.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.295, allocations: 256.3 kB / 438.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.295, allocations: 8 kB / 438.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006387/0.2957, allocations: 413.4 kB / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/0.2957, allocations: 3.938 kB / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001445/0.2971, allocations: 0.7313 MB / 439.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.2973, allocations: 199.9 kB / 439.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.2974, allocations: 186.4 kB / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.2975, allocations: 37.69 kB / 440.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.2976, allocations: 136.8 kB / 440.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/0.2977, allocations: 83.3 kB / 440.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.2978, allocations: 66.02 kB / 440.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.298, allocations: 338.8 kB / 440.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.2983, allocations: 201.7 kB / 441 MB, free: 12.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.2987, allocations: 289.9 kB / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006447/0.2994, allocations: 424.2 kB / 441.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2994, allocations: 0 / 441.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008886/0.3002, allocations: 0.5267 MB / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.3004, allocations: 97.09 kB / 442.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.3004, allocations: 12.08 kB / 442.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.3004, allocations: 3.938 kB / 442.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.3006, allocations: 39.92 kB / 442.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3006, allocations: 4 kB / 442.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.3009, allocations: 35.83 kB / 442.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.3009, allocations: 8 kB / 442.4 MB, free: 11.32 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.0003249/0.3012, allocations: 247.9 kB / 442.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.3013, allocations: 31.8 kB / 442.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.4e-05/0.3013, allocations: 30.58 kB / 442.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3013, allocations: 3.938 kB / 442.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3013, allocations: 0 / 442.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3013, allocations: 0 / 442.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.303, allocations: 0.8978 MB / 443.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.303, allocations: 0 / 443.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.3031, allocations: 23.98 kB / 443.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3031, allocations: 3.938 kB / 443.6 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.3032, allocations: 15.98 kB / 443.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.3032, allocations: 0 / 443.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3032, allocations: 0 / 443.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.3042, allocations: 0.6824 MB / 444.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.3043, allocations: 19.83 kB / 444.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.3044, allocations: 23.98 kB / 444.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.3046, allocations: 19.98 kB / 444.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.3047, allocations: 27.92 kB / 444.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.3047, allocations: 15.98 kB / 444.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.3048, allocations: 128.3 kB / 444.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3048, allocations: 0 / 444.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003683/0.3052, allocations: 79.88 kB / 444.6 MB, free: 8.953 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.0001901/0.3054, allocations: 133.2 kB / 444.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.3065, allocations: 0.6644 MB / 445.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3065, allocations: 0 / 445.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005545/0.3071, allocations: 366 kB / 445.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.3078, allocations: 144.1 kB / 445.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.309, allocations: 0.5989 MB / 446.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.3091, allocations: 137.6 kB / 446.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.3092, allocations: 49.89 kB / 446.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.3093, allocations: 27.8 kB / 446.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3093, allocations: 0 / 446.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of Templates: time 0.009831/0.3191, allocations: 4.743 MB / 451.5 MB, free: 2.055 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.755030784755945]