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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00186/0.00186, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002302/0.002302, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.493/1.493, allocations: 230.4 MB / 251.1 MB, free: 8.457 MB / 206.1 MB 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.001996/0.001996, allocations: 75.81 kB / 369 MB, free: 6.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2692, allocations: 53.3 MB / 422.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004051/0.2732, allocations: 2.388 MB / 424.7 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.2747, allocations: 0.7478 MB / 425.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.2748, allocations: 7.938 kB / 425.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.275, allocations: 31.66 kB / 425.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.2751, allocations: 63.48 kB / 425.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.2755, allocations: 103.7 kB / 425.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.2759, allocations: 263 kB / 425.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.2762, allocations: 83.03 kB / 425.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.2765, allocations: 119.6 kB / 426.1 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.2767, allocations: 115.6 kB / 426.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.2767, allocations: 24 kB / 426.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.298e-05/0.2768, allocations: 24 kB / 426.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.2769, allocations: 59.77 kB / 426.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.2771, allocations: 119.4 kB / 426.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.2775, allocations: 290.4 kB / 426.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2775, allocations: 0 / 426.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2775, allocations: 0 / 426.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.2775, allocations: 0 / 426.7 MB, free: 3.43 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.001229/0.2787, allocations: 0.6744 MB / 427.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2788, allocations: 12.03 kB / 427.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.279, allocations: 40.73 kB / 427.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.2794, allocations: 247.9 kB / 427.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-05/0.2794, allocations: 54.05 kB / 427.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.2795, allocations: 24.36 kB / 427.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.2801, allocations: 252.3 kB / 428 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2801, allocations: 4 kB / 428 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.2802, allocations: 4 kB / 428 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2802, allocations: 4 kB / 428 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.2807, allocations: 208.3 kB / 428.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.2821, allocations: 0.7603 MB / 429 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/0.2828, allocations: 267.2 kB / 429.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/0.2832, allocations: 185 kB / 429.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.2832, allocations: 4 kB / 429.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/0.2838, allocations: 317.2 kB / 429.7 MB, free: 188 kB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.402e-06/0.2838, allocations: 0 / 429.7 MB, free: 188 kB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001294/0.2851, allocations: 0.575 MB / 430.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/0.2852, allocations: 203.9 kB / 430.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.2855, allocations: 180.2 kB / 430.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.2856, allocations: 41.7 kB / 430.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.2857, allocations: 132.9 kB / 430.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.371e-05/0.2858, allocations: 91.22 kB / 430.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2859, allocations: 69.95 kB / 431 MB, free: 14.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.286, allocations: 342.8 kB / 431.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.2863, allocations: 108.6 kB / 431.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.2866, allocations: 175.3 kB / 431.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.2872, allocations: 405.2 kB / 432 MB, free: 13.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2872, allocations: 0 / 432 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007329/0.288, allocations: 442.4 kB / 432.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.936e-05/0.288, allocations: 101.1 kB / 432.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.288, allocations: 3.938 kB / 432.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2881, allocations: 4 kB / 432.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.2883, allocations: 35.92 kB / 432.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2883, allocations: 192 / 432.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.2884, allocations: 39.83 kB / 432.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.2885, allocations: 15.92 kB / 432.6 MB, free: 13.05 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.0002652/0.2887, allocations: 251.7 kB / 432.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.2888, allocations: 23.86 kB / 432.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.2888, allocations: 26.58 kB / 432.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2888, allocations: 3.938 kB / 432.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2888, allocations: 4 kB / 432.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2888, allocations: 0 / 432.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.2903, allocations: 0.9357 MB / 433.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2903, allocations: 0 / 433.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.2905, allocations: 19.98 kB / 433.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2905, allocations: 4.016 kB / 433.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.2905, allocations: 19.98 kB / 433.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2905, allocations: 0 / 433.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2905, allocations: 3.938 kB / 433.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009757/0.2915, allocations: 0.6207 MB / 434.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.699e-05/0.2916, allocations: 104.8 kB / 434.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.2916, allocations: 16 kB / 434.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.2918, allocations: 23.97 kB / 434.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.2919, allocations: 19.97 kB / 434.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.2919, allocations: 8 kB / 434.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.2921, allocations: 139.2 kB / 434.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2921, allocations: 0 / 434.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000346/0.2924, allocations: 75.98 kB / 434.9 MB, free: 10.63 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.000197/0.2926, allocations: 136.9 kB / 435 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008927/0.2935, allocations: 0.5174 MB / 435.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2935, allocations: 0 / 435.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004831/0.294, allocations: 314.6 kB / 435.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.2947, allocations: 148.3 kB / 436 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.2958, allocations: 0.5284 MB / 436.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.2963, allocations: 0.7523 MB / 437.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.2965, allocations: 53.88 kB / 437.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.2965, allocations: 23.38 kB / 437.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2965, allocations: 0 / 437.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of Templates: time 0.009277/0.3058, allocations: 4.363 MB / 441.7 MB, free: 3.738 MB / 350.1 MB 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/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-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches