Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 114.5 kB / 17.73 MB, free: 5.32 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.001298/0.001298, allocations: 179 kB / 18.66 MB, free: 4.398 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.699/1.699, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001255/0.001255, allocations: 52.39 kB / 328.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1227, allocations: 46.61 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004219/0.127, allocations: 2.761 MB / 377.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1283, allocations: 0.659 MB / 378.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1285, allocations: 4 kB / 378.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.1287, allocations: 47.5 kB / 378.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.1289, allocations: 95.19 kB / 378.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1292, allocations: 71.91 kB / 378.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.1295, allocations: 358.7 kB / 379.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.1298, allocations: 143.3 kB / 379.3 MB, free: 416 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1299, allocations: 123.6 kB / 379.4 MB, free: 292 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.1302, allocations: 155.3 kB / 379.5 MB, free: 136 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/0.1302, allocations: 32 kB / 379.6 MB, free: 104 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.17e-05/0.1303, allocations: 32 kB / 379.6 MB, free: 72 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.1304, allocations: 71.75 kB / 379.7 MB, free: 0 / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2813/0.4117, allocations: 153.5 kB / 379.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006228/0.4124, allocations: 354.6 kB / 380.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.4124, allocations: 3.25 kB / 380.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4124, allocations: 3 kB / 380.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.4124, allocations: 1.375 kB / 380.2 MB, free: 10.1 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009341/0.4134, allocations: 0.5882 MB / 380.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4134, allocations: 9.094 kB / 380.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.4135, allocations: 35.94 kB / 380.8 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.4139, allocations: 256.4 kB / 381.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.4139, allocations: 18.19 kB / 381.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.414, allocations: 31.7 kB / 381.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.4146, allocations: 247.8 kB / 381.4 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.4146, allocations: 7.875 kB / 381.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.4146, allocations: 12.06 kB / 381.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.4147, allocations: 6.875 kB / 381.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/0.4151, allocations: 189.8 kB / 381.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.4171, allocations: 1.008 MB / 382.6 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.4177, allocations: 331 kB / 382.9 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/0.4181, allocations: 145.2 kB / 383 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.4182, allocations: 3.406 kB / 383 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.4182, allocations: 40.19 kB / 383.1 MB, free: 8.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.144e-06/0.4182, allocations: 0 / 383.1 MB, free: 8.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.00167/0.4199, allocations: 0.7694 MB / 383.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.4199, allocations: 55.69 kB / 383.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.4202, allocations: 196.8 kB / 384.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.4202, allocations: 31.22 kB / 384.1 MB, free: 8.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.4203, allocations: 174.5 kB / 384.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.135e-05/0.4204, allocations: 95.73 kB / 384.4 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/0.4205, allocations: 58.66 kB / 384.5 MB, free: 7.938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.4206, allocations: 332.5 kB / 384.8 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.4208, allocations: 73.64 kB / 384.8 MB, free: 7.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.4209, allocations: 95.72 kB / 384.9 MB, free: 7.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.4212, allocations: 180.8 kB / 385.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4213, allocations: 4 kB / 385.1 MB, free: 7.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005643/0.4218, allocations: 315.9 kB / 385.4 MB, free: 7.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.4219, allocations: 5.5 kB / 385.4 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.4219, allocations: 0.6562 kB / 385.4 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003452/0.4222, allocations: 88.83 kB / 385.5 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.4225, allocations: 48.72 kB / 385.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.4246, allocations: 2.091 MB / 387.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.4247, allocations: 8.078 kB / 387.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.4247, allocations: 17.22 kB / 387.7 MB, free: 5.641 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.4249, allocations: 142.1 kB / 387.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.425, allocations: 19.08 kB / 387.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.425, allocations: 27.19 kB / 387.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.425, allocations: 3.219 kB / 387.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.4251, allocations: 3.188 kB / 387.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4251, allocations: 0.8906 kB / 387.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.4263, allocations: 0.7408 MB / 388.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4264, allocations: 0 / 388.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.4266, allocations: 43.56 kB / 388.7 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/0.4268, allocations: 76.2 kB / 388.7 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.4268, allocations: 7.172 kB / 388.7 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.4287, allocations: 1.978 MB / 390.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4287, allocations: 5.5 kB / 390.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.4294, allocations: 476.5 kB / 391.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.4294, allocations: 103.7 kB / 391.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.4295, allocations: 7.016 kB / 391.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.4296, allocations: 12.05 kB / 391.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.4297, allocations: 20.84 kB / 391.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.4297, allocations: 6.422 kB / 391.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.4299, allocations: 149.3 kB / 391.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4299, allocations: 1.031 kB / 391.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005023/0.4304, allocations: 75.56 kB / 391.6 MB, free: 2.699 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001202/0.4305, allocations: 109.9 kB / 391.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007083/0.4313, allocations: 361.2 kB / 392 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4313, allocations: 0 / 392 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.4317, allocations: 265.6 kB / 392.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.4321, allocations: 38.89 kB / 392.3 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.4335, allocations: 0.7596 MB / 393.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.4339, allocations: 0.7656 MB / 393.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.434, allocations: 22.17 kB / 393.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.4341, allocations: 17.91 kB / 393.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4341, allocations: 3.094 kB / 393.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of Templates: time 0.009087/0.4432, allocations: 3.26 MB / 397.1 MB, free: 0.7656 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches