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.001818/0.001818, allocations: 71.2 kB / 21.24 MB, free: 0.5469 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.002031/0.002031, allocations: 150.1 kB / 24.49 MB, free: 3.73 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.54/1.54, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.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.001541/0.001541, allocations: 48.12 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08943, allocations: 52.17 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003657/0.09309, allocations: 2.249 MB / 373.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.09428, allocations: 0.6427 MB / 374.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.09439, allocations: 7.938 kB / 374.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.09453, allocations: 27.72 kB / 374.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.09465, allocations: 63.48 kB / 374.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.09495, allocations: 83.78 kB / 374.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.0953, allocations: 271 kB / 374.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.0955, allocations: 71.61 kB / 375 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.0957, allocations: 115.6 kB / 375.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.09587, allocations: 99.59 kB / 375.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.196e-05/0.09592, allocations: 20 kB / 375.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.558e-05/0.09597, allocations: 24 kB / 375.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.69e-05/0.09605, allocations: 63.77 kB / 375.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.09618, allocations: 103.5 kB / 375.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.09653, allocations: 278.9 kB / 375.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.09653, allocations: 0 / 375.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09653, allocations: 0 / 375.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.09654, allocations: 0 / 375.7 MB, free: 3.219 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.001055/0.09759, allocations: 0.6079 MB / 376.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.09763, allocations: 8.922 kB / 376.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.0977, allocations: 32.78 kB / 376.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.09799, allocations: 178.9 kB / 376.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.305e-05/0.09809, allocations: 71.95 kB / 376.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.09812, allocations: 24.38 kB / 376.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.09877, allocations: 353.7 kB / 376.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.09878, allocations: 4 kB / 376.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.09881, allocations: 8 kB / 376.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.09882, allocations: 4 kB / 377 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.0994, allocations: 275.7 kB / 377.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.1007, allocations: 0.6355 MB / 377.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.1014, allocations: 326.6 kB / 378.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.1019, allocations: 260.4 kB / 378.4 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.1019, allocations: 4 kB / 378.4 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006337/0.1025, allocations: 417.3 kB / 378.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.452e-06/0.1025, allocations: 0 / 378.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00139/0.1039, allocations: 0.7383 MB / 379.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.104, allocations: 203.9 kB / 379.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.1042, allocations: 178.2 kB / 380 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.1042, allocations: 41.64 kB / 380 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1043, allocations: 136.8 kB / 380.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.032e-05/0.1044, allocations: 83.36 kB / 380.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.1045, allocations: 70.02 kB / 380.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1047, allocations: 330.8 kB / 380.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.105, allocations: 201.7 kB / 380.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.1054, allocations: 301.8 kB / 381.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.106, allocations: 412.7 kB / 381.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.106, allocations: 0 / 381.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008286/0.1069, allocations: 0.5345 MB / 382 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.283e-05/0.1069, allocations: 100.1 kB / 382.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1069, allocations: 0 / 382.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.107, allocations: 11.88 kB / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.1072, allocations: 43.91 kB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1072, allocations: 4.094 kB / 382.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.1074, allocations: 39.77 kB / 382.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.1074, allocations: 11.98 kB / 382.2 MB, free: 12.1 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.0002407/0.1076, allocations: 248.4 kB / 382.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.1077, allocations: 19.91 kB / 382.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.1077, allocations: 22.66 kB / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1077, allocations: 11.94 kB / 382.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1077, allocations: 0 / 382.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1077, allocations: 3.984 kB / 382.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.1092, allocations: 0.8812 MB / 383.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1092, allocations: 4.031 kB / 383.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.1093, allocations: 27.92 kB / 383.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1093, allocations: 7.938 kB / 383.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.1094, allocations: 8 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1094, allocations: 0 / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1094, allocations: 4 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.1104, allocations: 0.6824 MB / 384.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.1105, allocations: 31.77 kB / 384.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.1105, allocations: 12 kB / 384.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.1107, allocations: 23.97 kB / 384.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.1108, allocations: 23.97 kB / 384.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.1108, allocations: 8 kB / 384.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.111, allocations: 135.2 kB / 384.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.111, allocations: 3.938 kB / 384.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.1113, allocations: 79.94 kB / 384.5 MB, free: 9.746 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.0001481/0.1115, allocations: 133.2 kB / 384.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009666/0.1124, allocations: 0.6624 MB / 385.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1124, allocations: 0 / 385.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.1129, allocations: 362 kB / 385.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007028/0.1137, allocations: 141 kB / 385.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.1147, allocations: 0.603 MB / 386.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.1149, allocations: 138 kB / 386.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.115, allocations: 57.88 kB / 386.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.1151, allocations: 20.5 kB / 386.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1151, allocations: 0 / 386.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of Templates: time 0.009208/0.1243, allocations: 4.528 MB / 391.1 MB, free: 3.051 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 -s ida -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: 4.447712791035883]