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.001812/0.001812, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.002143/0.002143, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.42/1.42, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.001578/0.001578, allocations: 43.92 kB / 371.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2265, allocations: 52.18 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004127/0.2306, allocations: 2.394 MB / 426.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2319, allocations: 0.6816 MB / 427 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.232, allocations: 11.94 kB / 427 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.2322, allocations: 27.72 kB / 427 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.2323, allocations: 59.42 kB / 427.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.2326, allocations: 91.77 kB / 427.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.2329, allocations: 259.1 kB / 427.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.2332, allocations: 75.61 kB / 427.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.2334, allocations: 123.6 kB / 427.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.2336, allocations: 119.5 kB / 427.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.2336, allocations: 24 kB / 427.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.2336, allocations: 20 kB / 427.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.2337, allocations: 51.78 kB / 427.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.2339, allocations: 123.4 kB / 427.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.2342, allocations: 276.2 kB / 428.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2342, allocations: 0 / 428.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2342, allocations: 0 / 428.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2342, allocations: 0 / 428.2 MB, free: 10.34 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.001093/0.2353, allocations: 0.6156 MB / 428.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2354, allocations: 8.031 kB / 428.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.059e-05/0.2354, allocations: 32.78 kB / 428.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.2358, allocations: 178.9 kB / 429 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.2359, allocations: 79.95 kB / 429.1 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.2359, allocations: 20.38 kB / 429.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005801/0.2365, allocations: 252.3 kB / 429.4 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2365, allocations: 0 / 429.4 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.2366, allocations: 12 kB / 429.4 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2366, allocations: 4 kB / 429.4 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/0.2371, allocations: 208.2 kB / 429.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.2385, allocations: 0.7202 MB / 430.3 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.2391, allocations: 259.2 kB / 430.6 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/0.2395, allocations: 193.5 kB / 430.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.2396, allocations: 4 kB / 430.8 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/0.2401, allocations: 312.3 kB / 431.1 MB, free: 7.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.393e-06/0.2401, allocations: 3.938 kB / 431.1 MB, free: 7.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001246/0.2414, allocations: 0.5802 MB / 431.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.2415, allocations: 199.9 kB / 431.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.2417, allocations: 190.3 kB / 432 MB, free: 6.246 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.2418, allocations: 41.64 kB / 432.1 MB, free: 6.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2419, allocations: 136.9 kB / 432.2 MB, free: 6.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.242, allocations: 83.36 kB / 432.3 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.2421, allocations: 66.03 kB / 432.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2423, allocations: 334.8 kB / 432.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.2425, allocations: 108.6 kB / 432.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.2428, allocations: 175 kB / 432.9 MB, free: 5.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006043/0.2434, allocations: 409.5 kB / 433.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2434, allocations: 0 / 433.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007804/0.2442, allocations: 443.9 kB / 433.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.551e-05/0.2443, allocations: 93.28 kB / 433.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.2443, allocations: 7.938 kB / 433.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2443, allocations: 3.938 kB / 433.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.2445, allocations: 43.91 kB / 433.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.2445, allocations: 4 kB / 433.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.2447, allocations: 39.81 kB / 434 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.2448, allocations: 11.94 kB / 434 MB, free: 4.145 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.0002657/0.245, allocations: 243.8 kB / 434.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.2451, allocations: 27.86 kB / 434.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.247e-05/0.2451, allocations: 26.59 kB / 434.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2451, allocations: 0 / 434.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2451, allocations: 0 / 434.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.2451, allocations: 3.984 kB / 434.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.2467, allocations: 0.9074 MB / 435.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2467, allocations: 0 / 435.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.2468, allocations: 31.86 kB / 435.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2468, allocations: 4.031 kB / 435.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.2469, allocations: 4 kB / 435.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.2469, allocations: 4 kB / 435.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2469, allocations: 0 / 435.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.2479, allocations: 0.6176 MB / 435.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.2479, allocations: 23.8 kB / 435.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.248, allocations: 15.98 kB / 435.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.2482, allocations: 23.98 kB / 435.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.2483, allocations: 19.97 kB / 435.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.2483, allocations: 15.98 kB / 435.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.2485, allocations: 135.2 kB / 436.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2485, allocations: 0 / 436.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.2488, allocations: 75.88 kB / 436.1 MB, free: 1.859 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.000186/0.249, allocations: 129 kB / 436.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009235/0.2499, allocations: 0.5174 MB / 436.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2499, allocations: 0 / 436.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004935/0.2504, allocations: 318.6 kB / 437.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007155/0.2511, allocations: 145.1 kB / 437.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.2523, allocations: 0.5714 MB / 437.8 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.2527, allocations: 0.7445 MB / 438.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/0.2528, allocations: 19.44 kB / 438.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2528, allocations: 0 / 438.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of Templates: time 0.005708/0.2585, allocations: 3.134 MB / 441.7 MB, free: 12.2 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.267245918978006]