Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008399/0.0008399, allocations: 91.61 kB / 22.19 MB, free: 2.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00085/0.00085, allocations: 163.6 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8042/0.8042, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.029e-05, allocations: 2.281 kB / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002658/0.002678, allocations: 2.213 MB / 301.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008935/0.003571, allocations: 0.6825 MB / 302.6 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.812e-05/0.00366, allocations: 3.938 kB / 302.6 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.003788, allocations: 27.72 kB / 302.6 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.003862, allocations: 71.36 kB / 302.7 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.00415, allocations: 87.75 kB / 302.8 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.004401, allocations: 270.9 kB / 303.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.004568, allocations: 83.53 kB / 303.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.004742, allocations: 155.7 kB / 303.3 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.004846, allocations: 83.77 kB / 303.4 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.004885, allocations: 24 kB / 303.4 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.44e-05/0.004909, allocations: 28 kB / 303.4 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.004956, allocations: 51.77 kB / 303.5 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.468e-05/0.005041, allocations: 83.81 kB / 303.6 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.005285, allocations: 295.1 kB / 303.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005287, allocations: 0 / 303.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005289, allocations: 0 / 303.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.005293, allocations: 0 / 303.8 MB, free: 2.75 MB / 282.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.0007235/0.006017, allocations: 0.604 MB / 304.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.006047, allocations: 19.92 kB / 304.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.006102, allocations: 28.75 kB / 304.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.006311, allocations: 174.1 kB / 304.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.677e-05/0.006378, allocations: 83.89 kB / 304.7 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.006402, allocations: 16.38 kB / 304.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.006778, allocations: 346.2 kB / 305.1 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.006787, allocations: 4.188 kB / 305.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.006807, allocations: 16.12 kB / 305.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.006813, allocations: 4 kB / 305.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.007106, allocations: 279.3 kB / 305.4 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/0.007863, allocations: 0.6319 MB / 306 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.008212, allocations: 330.6 kB / 306.3 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.00848, allocations: 264.4 kB / 306.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.008496, allocations: 3.953 kB / 306.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003295/0.008825, allocations: 417.4 kB / 307 MB, free: 15.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.322e-06/0.008826, allocations: 0 / 307 MB, free: 15.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.000703/0.009529, allocations: 0.7345 MB / 307.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.009602, allocations: 203.8 kB / 308 MB, free: 14.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.009712, allocations: 178.2 kB / 308.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.009734, allocations: 37.7 kB / 308.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.009804, allocations: 136.8 kB / 308.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.009847, allocations: 83.38 kB / 308.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.009914, allocations: 70.02 kB / 308.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003186/0.01023, allocations: 334.8 kB / 308.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.01039, allocations: 205.7 kB / 309 MB, free: 13.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.01057, allocations: 282.1 kB / 309.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.01089, allocations: 421.4 kB / 309.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01089, allocations: 4.031 kB / 309.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004084/0.0113, allocations: 0.5267 MB / 310.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.01135, allocations: 101.1 kB / 310.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01135, allocations: 4 kB / 310.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.01137, allocations: 0 / 310.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.01147, allocations: 40.02 kB / 310.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01148, allocations: 4 kB / 310.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.464e-05/0.01156, allocations: 43.7 kB / 310.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.01158, allocations: 12 kB / 310.4 MB, free: 11.64 MB / 298.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.0001438/0.01172, allocations: 235.8 kB / 310.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.01175, allocations: 27.86 kB / 310.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.01178, allocations: 30.64 kB / 310.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01178, allocations: 0 / 310.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01178, allocations: 0 / 310.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01179, allocations: 7.875 kB / 310.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007591/0.01255, allocations: 0.9045 MB / 311.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01255, allocations: 0 / 311.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.0126, allocations: 19.98 kB / 311.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.0126, allocations: 0 / 311.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.01262, allocations: 23.95 kB / 311.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01263, allocations: 3.938 kB / 311.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01263, allocations: 0 / 311.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.01316, allocations: 0.6787 MB / 312.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.01318, allocations: 23.73 kB / 312.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.01322, allocations: 23.92 kB / 312.4 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.01332, allocations: 19.98 kB / 312.4 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.01337, allocations: 19.97 kB / 312.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.01339, allocations: 15.98 kB / 312.4 MB, free: 9.484 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.044e-05/0.01345, allocations: 123.2 kB / 312.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01345, allocations: 4 kB / 312.5 MB, free: 9.359 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001985/0.01365, allocations: 75.89 kB / 312.6 MB, free: 9.285 MB / 298.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.0001074/0.01376, allocations: 129.2 kB / 312.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004989/0.01426, allocations: 0.6547 MB / 313.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01426, allocations: 0 / 313.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.01451, allocations: 370 kB / 313.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.01491, allocations: 148.1 kB / 313.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.01554, allocations: 0.6104 MB / 314.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.287e-05/0.01562, allocations: 138 kB / 314.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.01568, allocations: 24.48 kB / 314.7 MB, free: 7.047 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01568, allocations: 0 / 314.7 MB, free: 7.047 MB / 298.7 MB Notification: Performance of Templates: time 0.003424/0.0191, allocations: 3.163 MB / 317.8 MB, free: 3.887 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.198900290764868]