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.001342/0.001342, allocations: 109.5 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.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.002078/0.002078, allocations: 184 kB / 23.71 MB, free: 4.695 MB / 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.501/1.501, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.001557/0.001557, allocations: 51.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2964, allocations: 52.18 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003875/0.3002, allocations: 2.379 MB / 425.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.3015, allocations: 0.6855 MB / 426.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.919e-05/0.3016, allocations: 7.938 kB / 426.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.3018, allocations: 27.72 kB / 426.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.3019, allocations: 67.42 kB / 426.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.3022, allocations: 91.77 kB / 426.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.3026, allocations: 259.1 kB / 426.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.3028, allocations: 75.61 kB / 426.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.303, allocations: 119.6 kB / 426.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.3032, allocations: 115.5 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.035e-05/0.3032, allocations: 20 kB / 427 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.94e-05/0.3033, allocations: 31.94 kB / 427 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-05/0.3033, allocations: 51.83 kB / 427 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.3035, allocations: 119.4 kB / 427.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.3039, allocations: 280.2 kB / 427.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3039, allocations: 0 / 427.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3039, allocations: 0 / 427.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3039, allocations: 0 / 427.4 MB, free: 10.37 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.001157/0.3051, allocations: 0.6078 MB / 428 MB, free: 9.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3051, allocations: 12.03 kB / 428 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.3052, allocations: 28.78 kB / 428.1 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.3055, allocations: 183.6 kB / 428.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.208e-05/0.3056, allocations: 46.27 kB / 428.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.3057, allocations: 20.38 kB / 428.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.3063, allocations: 264.2 kB / 428.6 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3063, allocations: 0 / 428.6 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.3063, allocations: 4 kB / 428.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3063, allocations: 8 kB / 428.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.3069, allocations: 204.2 kB / 428.8 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.3083, allocations: 0.7241 MB / 429.5 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/0.3089, allocations: 255.2 kB / 429.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004448/0.3094, allocations: 190.2 kB / 429.9 MB, free: 7.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3094, allocations: 7.984 kB / 430 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005748/0.31, allocations: 319.7 kB / 430.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.31, allocations: 0 / 430.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001302/0.3113, allocations: 0.5802 MB / 430.8 MB, free: 6.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.3114, allocations: 199.9 kB / 431 MB, free: 6.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.3116, allocations: 186.3 kB / 431.2 MB, free: 6.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.3117, allocations: 41.64 kB / 431.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3118, allocations: 128.9 kB / 431.4 MB, free: 6.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.018e-05/0.3119, allocations: 91.36 kB / 431.5 MB, free: 6.055 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.312, allocations: 62.03 kB / 431.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3121, allocations: 338.8 kB / 431.9 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.3124, allocations: 112.6 kB / 432 MB, free: 5.531 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.3127, allocations: 171.1 kB / 432.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006282/0.3133, allocations: 411.2 kB / 432.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3133, allocations: 4 kB / 432.6 MB, free: 4.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007743/0.3141, allocations: 445.2 kB / 433 MB, free: 4.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.105e-05/0.3142, allocations: 97.28 kB / 433.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3142, allocations: 3.938 kB / 433.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3142, allocations: 7.938 kB / 433.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.3144, allocations: 44 kB / 433.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.3144, allocations: 11.92 kB / 433.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.3146, allocations: 35.81 kB / 433.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.3147, allocations: 12 kB / 433.2 MB, free: 4.211 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.0002596/0.3149, allocations: 243.7 kB / 433.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.315, allocations: 23.86 kB / 433.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.315, allocations: 26.59 kB / 433.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.315, allocations: 4 kB / 433.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.315, allocations: 0 / 433.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.315, allocations: 3.984 kB / 433.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.3166, allocations: 0.9074 MB / 434.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3166, allocations: 0 / 434.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3167, allocations: 27.86 kB / 434.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.788e-06/0.3167, allocations: 4 kB / 434.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.3168, allocations: 8 kB / 434.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3168, allocations: 0 / 434.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3168, allocations: 0 / 434.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.3178, allocations: 0.6176 MB / 435.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.3179, allocations: 23.8 kB / 435.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.3179, allocations: 23.98 kB / 435.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.3181, allocations: 19.98 kB / 435.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.3182, allocations: 23.91 kB / 435.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.3182, allocations: 11.98 kB / 435.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.3184, allocations: 135.2 kB / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3184, allocations: 0 / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003454/0.3187, allocations: 75.94 kB / 435.4 MB, free: 1.926 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.0001829/0.3189, allocations: 129 kB / 435.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009064/0.3198, allocations: 0.5135 MB / 436 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3198, allocations: 8.188 kB / 436 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005083/0.3203, allocations: 318.5 kB / 436.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.3211, allocations: 138.9 kB / 436.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.3222, allocations: 0.537 MB / 437 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.3226, allocations: 0.7445 MB / 437.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.3228, allocations: 45.91 kB / 437.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.3228, allocations: 27.44 kB / 437.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3228, allocations: 0 / 437.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of Templates: time 0.009435/0.3323, allocations: 4.426 MB / 442.2 MB, free: 10.98 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.676546295173466]