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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] 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=5601,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=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 51.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3008, allocations: 52.13 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003958/0.3048, allocations: 2.39 MB / 423.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.3061, allocations: 0.6777 MB / 423.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.3063, allocations: 0 / 423.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.3065, allocations: 39.59 kB / 424 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.3066, allocations: 55.48 kB / 424 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.3069, allocations: 91.77 kB / 424.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.3073, allocations: 263.1 kB / 424.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.3075, allocations: 79.05 kB / 424.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.3078, allocations: 111.6 kB / 424.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.308, allocations: 119.5 kB / 424.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.308, allocations: 20 kB / 424.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.249e-05/0.3081, allocations: 27.94 kB / 424.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.888e-05/0.3081, allocations: 51.84 kB / 424.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.3083, allocations: 123.4 kB / 424.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.3087, allocations: 280.1 kB / 425.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3087, allocations: 0 / 425.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3087, allocations: 4 kB / 425.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3087, allocations: 0 / 425.2 MB, free: 10.79 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.001186/0.3099, allocations: 0.6637 MB / 425.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3099, allocations: 16.03 kB / 425.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.814e-05/0.31, allocations: 32.75 kB / 425.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.3104, allocations: 250.2 kB / 426.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.734e-05/0.3105, allocations: 50.27 kB / 426.2 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.3106, allocations: 16.38 kB / 426.2 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/0.3111, allocations: 256.1 kB / 426.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3112, allocations: 0 / 426.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3112, allocations: 16 kB / 426.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3112, allocations: 7.984 kB / 426.5 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.3117, allocations: 196.3 kB / 426.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.3131, allocations: 0.7641 MB / 427.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.3137, allocations: 262.4 kB / 427.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.3141, allocations: 193 kB / 427.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3141, allocations: 4 kB / 427.9 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000539/0.3147, allocations: 312.9 kB / 428.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.3147, allocations: 4 kB / 428.2 MB, free: 7.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001234/0.3159, allocations: 0.5788 MB / 428.8 MB, free: 6.961 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.316, allocations: 207.8 kB / 429 MB, free: 6.715 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.3162, allocations: 183.1 kB / 429.1 MB, free: 6.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.3163, allocations: 37.7 kB / 429.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3164, allocations: 136.8 kB / 429.3 MB, free: 6.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.3165, allocations: 83.36 kB / 429.4 MB, free: 6.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.3166, allocations: 66.03 kB / 429.5 MB, free: 6.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3167, allocations: 334.8 kB / 429.8 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.317, allocations: 108.6 kB / 429.9 MB, free: 5.742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.3173, allocations: 171.3 kB / 430.1 MB, free: 5.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.3178, allocations: 419.2 kB / 430.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3178, allocations: 0 / 430.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007216/0.3186, allocations: 442.3 kB / 430.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.524e-05/0.3186, allocations: 97.03 kB / 431 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3187, allocations: 4 kB / 431 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3187, allocations: 4 kB / 431 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.3189, allocations: 39.91 kB / 431 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3189, allocations: 4 kB / 431 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3191, allocations: 43.86 kB / 431.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.3191, allocations: 8 kB / 431.1 MB, free: 4.426 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.000253/0.3193, allocations: 236.8 kB / 431.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.3194, allocations: 31.8 kB / 431.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.3194, allocations: 22.66 kB / 431.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3194, allocations: 4 kB / 431.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3194, allocations: 0 / 431.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3195, allocations: 8.156 kB / 431.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.3209, allocations: 0.9395 MB / 432.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3209, allocations: 7.875 kB / 432.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.321, allocations: 19.98 kB / 432.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.321, allocations: 0 / 432.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.321, allocations: 8 kB / 432.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3211, allocations: 4 kB / 432.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3211, allocations: 0 / 432.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.322, allocations: 0.6321 MB / 433 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.3221, allocations: 100.9 kB / 433.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.3222, allocations: 15.98 kB / 433.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.3224, allocations: 27.98 kB / 433.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.3225, allocations: 19.97 kB / 433.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.3225, allocations: 15.92 kB / 433.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.3226, allocations: 127.2 kB / 433.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3226, allocations: 0 / 433.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003403/0.323, allocations: 71.94 kB / 433.4 MB, free: 2.008 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.0001825/0.3231, allocations: 140.9 kB / 433.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009116/0.3241, allocations: 0.5135 MB / 434 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3241, allocations: 0 / 434 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000494/0.3246, allocations: 318.9 kB / 434.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.3253, allocations: 139.1 kB / 434.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.3263, allocations: 0.5401 MB / 435 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.3267, allocations: 0.7406 MB / 435.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.3269, allocations: 57.88 kB / 435.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.327, allocations: 27.42 kB / 435.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.327, allocations: 0 / 435.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Templates: time 0.009122/0.3361, allocations: 4.36 MB / 440.2 MB, free: 11.12 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/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/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.649582930840552]