Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001918/0.001918, allocations: 82.7 kB / 22 MB, free: 5.18 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.00224/0.00224, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 158.6 MB / 187 MB, free: 6.484 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 56.25 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2231, allocations: 49.15 MB / 348.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004177/0.2273, allocations: 2.211 MB / 350.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.2288, allocations: 0.6785 MB / 351.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.2289, allocations: 3.938 kB / 351.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.2291, allocations: 31.66 kB / 351.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.2292, allocations: 59.5 kB / 351.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.2296, allocations: 87.77 kB / 351.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.2299, allocations: 271 kB / 351.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.2301, allocations: 75.45 kB / 351.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.2303, allocations: 127.5 kB / 352 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.2305, allocations: 99.53 kB / 352.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.877e-05/0.2306, allocations: 24 kB / 352.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.811e-05/0.2306, allocations: 20 kB / 352.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.2307, allocations: 51.84 kB / 352.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.2308, allocations: 107.5 kB / 352.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.2312, allocations: 285.6 kB / 352.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2312, allocations: 0 / 352.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2312, allocations: 0 / 352.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.2312, allocations: 3.938 kB / 352.6 MB, free: 11.53 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.001199/0.2324, allocations: 0.5924 MB / 353.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.705e-05/0.2325, allocations: 15.98 kB / 353.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.705e-05/0.2326, allocations: 36.73 kB / 353.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.233, allocations: 182.8 kB / 353.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.2331, allocations: 75.97 kB / 353.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.2332, allocations: 20.31 kB / 353.5 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.2338, allocations: 357.7 kB / 353.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2338, allocations: 4 kB / 353.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.2339, allocations: 8 kB / 353.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2339, allocations: 4 kB / 353.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005647/0.2344, allocations: 271.8 kB / 354.2 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.2358, allocations: 0.6278 MB / 354.8 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.2365, allocations: 342.4 kB / 355.1 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005471/0.2371, allocations: 260.3 kB / 355.4 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.2371, allocations: 0 / 355.4 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006638/0.2377, allocations: 421.4 kB / 355.8 MB, free: 8.102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.432e-06/0.2377, allocations: 0 / 355.8 MB, free: 8.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001455/0.2392, allocations: 0.7261 MB / 356.5 MB, free: 7.332 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.2394, allocations: 207.8 kB / 356.7 MB, free: 7.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.2396, allocations: 186.1 kB / 356.9 MB, free: 6.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.2396, allocations: 33.7 kB / 356.9 MB, free: 6.855 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.2398, allocations: 136.8 kB / 357.1 MB, free: 6.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.189e-05/0.2398, allocations: 91.31 kB / 357.2 MB, free: 6.625 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.24, allocations: 66.02 kB / 357.2 MB, free: 6.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002425/0.2402, allocations: 334.8 kB / 357.6 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.2405, allocations: 197.8 kB / 357.7 MB, free: 6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.241, allocations: 290.1 kB / 358 MB, free: 5.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/0.2416, allocations: 421.4 kB / 358.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2416, allocations: 0 / 358.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008579/0.2425, allocations: 0.5345 MB / 359 MB, free: 4.633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.202e-05/0.2426, allocations: 97.09 kB / 359.1 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2426, allocations: 4 kB / 359.1 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2426, allocations: 3.938 kB / 359.1 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.2428, allocations: 39.91 kB / 359.1 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2428, allocations: 4 kB / 359.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.243, allocations: 39.92 kB / 359.2 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.243, allocations: 12 kB / 359.2 MB, free: 4.418 MB / 318.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.000272/0.2433, allocations: 235.8 kB / 359.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.2434, allocations: 27.86 kB / 359.4 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.2434, allocations: 22.66 kB / 359.5 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-06/0.2434, allocations: 3.938 kB / 359.5 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2434, allocations: 4 kB / 359.5 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.2434, allocations: 3.984 kB / 359.5 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.2451, allocations: 0.9045 MB / 360.4 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2451, allocations: 4.031 kB / 360.4 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2452, allocations: 19.98 kB / 360.4 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2452, allocations: 3.938 kB / 360.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.2452, allocations: 12 kB / 360.4 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2452, allocations: 192 / 360.4 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2452, allocations: 4 kB / 360.4 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.2463, allocations: 0.6862 MB / 361.1 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.2464, allocations: 23.83 kB / 361.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.2464, allocations: 16 kB / 361.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.2467, allocations: 23.97 kB / 361.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.2467, allocations: 19.97 kB / 361.2 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.2468, allocations: 8 kB / 361.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.2469, allocations: 131.2 kB / 361.3 MB, free: 2.145 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2469, allocations: 0 / 361.3 MB, free: 2.145 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.2472, allocations: 75.89 kB / 361.4 MB, free: 2.07 MB / 318.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.0001749/0.2474, allocations: 138.1 kB / 361.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.2484, allocations: 0.6586 MB / 362.2 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2484, allocations: 0 / 362.2 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000538/0.2489, allocations: 370 kB / 362.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007099/0.2497, allocations: 140.4 kB / 362.7 MB, free: 0.668 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.2508, allocations: 0.607 MB / 363.3 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.2509, allocations: 134 kB / 363.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000153/0.2511, allocations: 53.89 kB / 363.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.2511, allocations: 20.5 kB / 363.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2511, allocations: 0 / 363.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of Templates: time 0.009345/0.2605, allocations: 4.535 MB / 368 MB, free: 11.24 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.452606435981579]