Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 113 kB / 21.17 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 218.7 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.411/1.411, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.81 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2735, allocations: 53.31 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004011/0.2775, allocations: 2.403 MB / 434.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.2789, allocations: 0.7556 MB / 435.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.2791, allocations: 7.938 kB / 435.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.2792, allocations: 35.7 kB / 435.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.2793, allocations: 51.5 kB / 435.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.2797, allocations: 107.7 kB / 435.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.2801, allocations: 263 kB / 435.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.2803, allocations: 79.05 kB / 435.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.2806, allocations: 119.6 kB / 435.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.2808, allocations: 111.6 kB / 436 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.2808, allocations: 20 kB / 436 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.386e-05/0.2809, allocations: 35.92 kB / 436 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.222e-05/0.2809, allocations: 55.77 kB / 436.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.2811, allocations: 119.3 kB / 436.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.2815, allocations: 292.4 kB / 436.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2815, allocations: 0 / 436.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2815, allocations: 0 / 436.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.2815, allocations: 4 kB / 436.5 MB, free: 2.938 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.001144/0.2827, allocations: 0.6676 MB / 437.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2827, allocations: 8.031 kB / 437.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.2829, allocations: 44.73 kB / 437.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.2833, allocations: 256.4 kB / 437.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.009e-05/0.2834, allocations: 50.05 kB / 437.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.2834, allocations: 20.38 kB / 437.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.284, allocations: 256.3 kB / 437.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.284, allocations: 0 / 437.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.284, allocations: 8 kB / 437.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.284, allocations: 4 kB / 437.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005104/0.2845, allocations: 208.3 kB / 438 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.286, allocations: 0.7603 MB / 438.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.2866, allocations: 259.2 kB / 439 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004008/0.287, allocations: 186.3 kB / 439.2 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.287, allocations: 4 kB / 439.2 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005596/0.2875, allocations: 320.3 kB / 439.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.2875, allocations: 4 kB / 439.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001224/0.2888, allocations: 0.571 MB / 440.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.2889, allocations: 203.9 kB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.2891, allocations: 184.2 kB / 440.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.2892, allocations: 41.7 kB / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.738e-05/0.2892, allocations: 128.9 kB / 440.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/0.2893, allocations: 91.3 kB / 440.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.2894, allocations: 66.02 kB / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2896, allocations: 334.8 kB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.2898, allocations: 112.6 kB / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.2901, allocations: 167.3 kB / 441.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/0.2907, allocations: 415.4 kB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2907, allocations: 0 / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007464/0.2915, allocations: 442.9 kB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.2915, allocations: 97.09 kB / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2916, allocations: 7.938 kB / 442.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2916, allocations: 0 / 442.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.2918, allocations: 35.92 kB / 442.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2918, allocations: 4 kB / 442.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.292, allocations: 39.89 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.292, allocations: 12 kB / 442.4 MB, free: 12.58 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.0002481/0.2922, allocations: 235.8 kB / 442.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.2923, allocations: 31.86 kB / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.351e-05/0.2923, allocations: 26.58 kB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2923, allocations: 0 / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2923, allocations: 3.938 kB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2923, allocations: 4.188 kB / 442.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.2939, allocations: 0.9395 MB / 443.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2939, allocations: 7.969 kB / 443.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.294, allocations: 19.98 kB / 443.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.294, allocations: 0 / 443.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.294, allocations: 11.98 kB / 443.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.294, allocations: 4 kB / 443.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.294, allocations: 3.938 kB / 443.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009965/0.295, allocations: 0.6207 MB / 444.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/0.2951, allocations: 112.8 kB / 444.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.2952, allocations: 12 kB / 444.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.2954, allocations: 27.97 kB / 444.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.2954, allocations: 19.98 kB / 444.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.2955, allocations: 11.98 kB / 444.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.2956, allocations: 135.2 kB / 444.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2956, allocations: 0 / 444.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.2959, allocations: 72 kB / 444.7 MB, free: 10.15 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.0001969/0.2961, allocations: 136.9 kB / 444.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008803/0.297, allocations: 0.5174 MB / 445.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.297, allocations: 0 / 445.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004788/0.2975, allocations: 314.9 kB / 445.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007138/0.2982, allocations: 152.7 kB / 445.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2993, allocations: 0.573 MB / 446.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.2996, allocations: 0.7444 MB / 447.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.2997, allocations: 23.44 kB / 447.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2997, allocations: 0 / 447.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of Templates: time 0.005709/0.3054, allocations: 3.159 MB / 450.3 MB, free: 4.441 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.169919451233]