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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,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=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 110.6 kB / 18.4 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 190.1 kB / 19.34 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.1 MB / 225.2 MB, free: 12.19 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 55.92 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07132/0.07249, allocations: 46.6 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003224/0.07574, allocations: 2.337 MB / 378.2 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.07694, allocations: 0.7134 MB / 378.9 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.07707, allocations: 3.938 kB / 378.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.07724, allocations: 31.72 kB / 378.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.07736, allocations: 55.48 kB / 379 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.07768, allocations: 91.77 kB / 379 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.078, allocations: 267 kB / 379.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.07822, allocations: 111 kB / 379.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.07842, allocations: 115.6 kB / 379.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.0786, allocations: 119.5 kB / 379.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.07866, allocations: 20 kB / 379.7 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.697e-05/0.07871, allocations: 24 kB / 379.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.07878, allocations: 55.78 kB / 379.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.07891, allocations: 115.5 kB / 379.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.07921, allocations: 283 kB / 380.1 MB, free: 232 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.07922, allocations: 0 / 380.1 MB, free: 232 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.07923, allocations: 0 / 380.1 MB, free: 232 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.07924, allocations: 0 / 380.1 MB, free: 232 kB / 318.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.1369/0.2161, allocations: 0.6639 MB / 380.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2162, allocations: 8.906 kB / 380.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.2162, allocations: 27.78 kB / 380.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.2165, allocations: 241.3 kB / 381.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.957e-05/0.2166, allocations: 47.69 kB / 381.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.2166, allocations: 20 kB / 381.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.2172, allocations: 264 kB / 381.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2172, allocations: 5.719 kB / 381.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.2172, allocations: 8.844 kB / 381.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2172, allocations: 8.406 kB / 381.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.2177, allocations: 200.9 kB / 381.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.2188, allocations: 0.7504 MB / 382.4 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/0.2193, allocations: 300.2 kB / 382.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004366/0.2198, allocations: 223.5 kB / 382.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.2198, allocations: 2.438 kB / 382.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004829/0.2203, allocations: 324.1 kB / 383.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.305e-06/0.2203, allocations: 0.5 kB / 383.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001097/0.2214, allocations: 0.5723 MB / 383.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.2215, allocations: 200.9 kB / 384 MB, free: 11.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.2216, allocations: 186.8 kB / 384.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.2217, allocations: 36.91 kB / 384.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.2217, allocations: 140.4 kB / 384.3 MB, free: 11.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.2218, allocations: 78.22 kB / 384.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/0.2219, allocations: 68.8 kB / 384.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.2219, allocations: 331.8 kB / 384.8 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.2222, allocations: 109.5 kB / 384.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.2224, allocations: 181.6 kB / 385.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/0.2229, allocations: 409.8 kB / 385.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2229, allocations: 1.438 kB / 385.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000614/0.2235, allocations: 439.6 kB / 385.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.2236, allocations: 101 kB / 386 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2236, allocations: 2.562 kB / 386 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2236, allocations: 7.016 kB / 386 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.2238, allocations: 44.67 kB / 386.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.2238, allocations: 3.562 kB / 386.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.224, allocations: 37.11 kB / 386.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.224, allocations: 10.41 kB / 386.1 MB, free: 10.11 MB / 318.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.0001646/0.2242, allocations: 246.4 kB / 386.3 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.2242, allocations: 25.5 kB / 386.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.2243, allocations: 23.34 kB / 386.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2243, allocations: 5.438 kB / 386.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2243, allocations: 4.281 kB / 386.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2243, allocations: 99.45 kB / 386.5 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.717e-05/0.2244, allocations: 15.64 kB / 386.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.2246, allocations: 26.7 kB / 386.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.2247, allocations: 21.36 kB / 386.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009703/0.2256, allocations: 0.7353 MB / 387.3 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009642/0.2266, allocations: 0.6687 MB / 388 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004834/0.2271, allocations: 243.8 kB / 388.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.767e-05/0.2272, allocations: 136.9 kB / 388.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of Backend: time 3.2e-07/0.2272, allocations: 0 / 388.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006997/0.2279, allocations: 482.2 kB / 388.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of SimCode: time 0.000773/0.2287, allocations: 0.9869 MB / 389.8 MB, free: 7.566 MB / 318.1 MB Notification: Performance of Templates: time 0.0069/0.2356, allocations: 3.427 MB / 393.2 MB, free: 7.32 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/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/jenkins1/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) Reference file matches