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.001319/0.001319, allocations: 99.95 kB / 21.18 MB, free: 0.6602 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.001369/0.001369, allocations: 187.4 kB / 24.46 MB, free: 3.973 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.429/1.429, allocations: 225.7 MB / 253.3 MB, free: 12.81 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.001832/0.001832, allocations: 39.94 kB / 371.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.274, allocations: 52.19 MB / 423.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.0047/0.2787, allocations: 2.251 MB / 426.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.2803, allocations: 0.6388 MB / 426.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.2805, allocations: 7.938 kB / 426.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.2807, allocations: 27.72 kB / 426.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.2809, allocations: 63.48 kB / 426.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.2814, allocations: 87.78 kB / 426.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.2819, allocations: 267 kB / 427.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.2821, allocations: 75.22 kB / 427.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.2825, allocations: 115.6 kB / 427.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.2827, allocations: 107.5 kB / 427.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.559e-05/0.2828, allocations: 20 kB / 427.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.73e-05/0.2828, allocations: 24 kB / 427.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.2829, allocations: 59.77 kB / 427.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.2831, allocations: 99.58 kB / 427.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.2836, allocations: 277.9 kB / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2836, allocations: 0 / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2836, allocations: 0 / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.2836, allocations: 0 / 427.9 MB, free: 10.39 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.001336/0.2849, allocations: 0.604 MB / 428.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.285, allocations: 8.031 kB / 428.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.2851, allocations: 32.78 kB / 428.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.2856, allocations: 182.9 kB / 428.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.2857, allocations: 75.95 kB / 428.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.2857, allocations: 20.38 kB / 428.8 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007296/0.2865, allocations: 357.4 kB / 429.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2865, allocations: 3.938 kB / 429.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.2865, allocations: 8 kB / 429.2 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.2865, allocations: 4 kB / 429.2 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005849/0.2871, allocations: 275.6 kB / 429.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.2886, allocations: 0.635 MB / 430.1 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.2893, allocations: 336.6 kB / 430.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005153/0.2898, allocations: 257.5 kB / 430.7 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.2898, allocations: 4 kB / 430.7 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000646/0.2905, allocations: 417.4 kB / 431.1 MB, free: 6.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/0.2905, allocations: 0 / 431.1 MB, free: 6.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001428/0.2919, allocations: 0.7344 MB / 431.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.2921, allocations: 203.9 kB / 432 MB, free: 5.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.2923, allocations: 174.2 kB / 432.2 MB, free: 5.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.2923, allocations: 41.7 kB / 432.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2925, allocations: 128.9 kB / 432.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.249e-05/0.2926, allocations: 83.36 kB / 432.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.2927, allocations: 70.02 kB / 432.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.2929, allocations: 330.8 kB / 432.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.2932, allocations: 205.7 kB / 433 MB, free: 4.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.2936, allocations: 297.8 kB / 433.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.2942, allocations: 422.9 kB / 433.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2943, allocations: 0 / 433.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008761/0.2951, allocations: 0.5377 MB / 434.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-05/0.2952, allocations: 99.59 kB / 434.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2952, allocations: 0 / 434.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/0.2953, allocations: 16.03 kB / 434.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.2955, allocations: 43.91 kB / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.2955, allocations: 0 / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.2957, allocations: 35.83 kB / 434.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.2957, allocations: 12 kB / 434.5 MB, free: 3.281 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.0003075/0.296, allocations: 240.5 kB / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.2961, allocations: 24.09 kB / 434.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.235e-05/0.2961, allocations: 22.66 kB / 434.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.2961, allocations: 11.88 kB / 434.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.2961, allocations: 0 / 434.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2962, allocations: 3.984 kB / 434.8 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.2977, allocations: 0.8929 MB / 435.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2977, allocations: 0 / 435.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.2978, allocations: 23.92 kB / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.2979, allocations: 7.938 kB / 435.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.2979, allocations: 8 kB / 435.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2979, allocations: 0 / 435.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2979, allocations: 4 kB / 435.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.2989, allocations: 0.6862 MB / 436.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.299, allocations: 27.78 kB / 436.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.2991, allocations: 12 kB / 436.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.2993, allocations: 23.97 kB / 436.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/0.2994, allocations: 19.97 kB / 436.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.2994, allocations: 12 kB / 436.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.2995, allocations: 135.2 kB / 436.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2995, allocations: 0 / 436.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004481/0.3, allocations: 75.94 kB / 436.7 MB, free: 0.9336 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.0001784/0.3002, allocations: 132.9 kB / 436.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.3012, allocations: 0.6663 MB / 437.5 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3012, allocations: 0 / 437.5 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.3018, allocations: 362 kB / 437.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/0.3025, allocations: 149.3 kB / 438 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.3036, allocations: 0.6279 MB / 438.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.3038, allocations: 134 kB / 438.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.3039, allocations: 19.44 kB / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3039, allocations: 0 / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of Templates: time 0.006572/0.3104, allocations: 3.165 MB / 441.9 MB, free: 11.54 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/jenkins1/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/jenkins1/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: 7.039949507918209]