Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.002242/0.002242, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 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.002272/0.002272, allocations: 156.9 kB / 24.26 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.24e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003929/0.003961, allocations: 2.284 MB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.005546, allocations: 0.7048 MB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.005656, allocations: 0 / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.005839, allocations: 31.66 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.005979, allocations: 63.42 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.006416, allocations: 103.6 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006526/0.007069, allocations: 278.9 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.007291, allocations: 75.64 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003502/0.007641, allocations: 167.7 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.007822, allocations: 87.75 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.00788, allocations: 27.94 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.292e-05/0.007953, allocations: 27.94 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.008033, allocations: 55.81 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.008163, allocations: 79.83 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.008614, allocations: 291.1 kB / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.008617, allocations: 4 kB / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.008619, allocations: 0 / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.008624, allocations: 0 / 276.5 MB, free: 13.51 MB / 266.7 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.001216/0.009841, allocations: 0.6117 MB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.009881, allocations: 11.98 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/0.01012, allocations: 48.78 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.01052, allocations: 185.4 kB / 277.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.01063, allocations: 75.97 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.01067, allocations: 16.38 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007357/0.0114, allocations: 350.2 kB / 277.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.01142, allocations: 4.188 kB / 277.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.01145, allocations: 12.12 kB / 277.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.01146, allocations: 4 kB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.01209, allocations: 275.7 kB / 278 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.01357, allocations: 0.6394 MB / 278.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007356/0.01431, allocations: 334.5 kB / 279 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.01488, allocations: 264.3 kB / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.0149, allocations: 4 kB / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006957/0.01559, allocations: 417.4 kB / 279.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.0156, allocations: 0 / 279.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.001556/0.01715, allocations: 0.7347 MB / 280.4 MB, free: 9.266 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/0.01733, allocations: 211.8 kB / 280.6 MB, free: 9.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.01754, allocations: 178.4 kB / 280.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.01759, allocations: 45.7 kB / 280.8 MB, free: 8.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.01774, allocations: 128.9 kB / 281 MB, free: 8.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.309e-05/0.01783, allocations: 83.31 kB / 281 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.01796, allocations: 74.02 kB / 281.1 MB, free: 8.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.01815, allocations: 334.8 kB / 281.4 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.0185, allocations: 201.7 kB / 281.6 MB, free: 7.934 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.01892, allocations: 290.1 kB / 281.9 MB, free: 7.605 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/0.01958, allocations: 420.8 kB / 282.3 MB, free: 7.148 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.01959, allocations: 8 kB / 282.3 MB, free: 7.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001204/0.0208, allocations: 0.5424 MB / 282.9 MB, free: 6.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.0209, allocations: 101.1 kB / 283 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.02091, allocations: 0 / 283 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/0.02094, allocations: 4 kB / 283 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.02115, allocations: 39.91 kB / 283 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.02116, allocations: 4 kB / 283 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.02136, allocations: 43.8 kB / 283.1 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.02139, allocations: 16 kB / 283.1 MB, free: 6.332 MB / 266.7 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.0003084/0.0217, allocations: 235.7 kB / 283.3 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.02178, allocations: 39.86 kB / 283.4 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.02184, allocations: 26.64 kB / 283.4 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02184, allocations: 0 / 283.4 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.02185, allocations: 0 / 283.4 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.02186, allocations: 7.938 kB / 283.4 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.0235, allocations: 0.8997 MB / 284.3 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.0235, allocations: 0 / 284.3 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.02362, allocations: 19.98 kB / 284.3 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.02363, allocations: 11.97 kB / 284.3 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/0.02366, allocations: 11.98 kB / 284.3 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.02367, allocations: 3.938 kB / 284.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.02367, allocations: 0 / 284.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.02484, allocations: 0.6824 MB / 285 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.0249, allocations: 31.72 kB / 285.1 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.02496, allocations: 19.98 kB / 285.1 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.02518, allocations: 19.98 kB / 285.1 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.02529, allocations: 23.97 kB / 285.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.02532, allocations: 11.98 kB / 285.1 MB, free: 4.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.02546, allocations: 132.3 kB / 285.3 MB, free: 4.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02546, allocations: 0 / 285.3 MB, free: 4.031 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.02583, allocations: 71.95 kB / 285.3 MB, free: 3.961 MB / 266.7 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.0001908/0.02602, allocations: 133.2 kB / 285.5 MB, free: 3.824 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.02711, allocations: 0.6625 MB / 286.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02711, allocations: 0 / 286.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000581/0.02769, allocations: 374.2 kB / 286.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007685/0.02846, allocations: 157.8 kB / 286.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.02967, allocations: 0.5935 MB / 287.2 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.02983, allocations: 133.7 kB / 287.4 MB, free: 1.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.02999, allocations: 53.89 kB / 287.4 MB, free: 1.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.704e-05/0.03006, allocations: 20.5 kB / 287.4 MB, free: 1.695 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03006, allocations: 0 / 287.4 MB, free: 1.695 MB / 266.7 MB Notification: Performance of Templates: time 0.00997/0.04003, allocations: 4.518 MB / 292 MB, free: 13.25 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.576325678033754]