Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 112.6 kB / 17.73 MB, free: 5.203 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.001385/0.001385, allocations: 184.2 kB / 18.66 MB, free: 4.277 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.543/1.543, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001125/0.001125, allocations: 48.41 kB / 328.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1074, allocations: 46.61 MB / 375.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.2543/0.3617, allocations: 5.701 MB / 380.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.3643, allocations: 1.206 MB / 382.1 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.3648, allocations: 16.5 kB / 382.1 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.3653, allocations: 173.1 kB / 382.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005846/0.3659, allocations: 279.2 kB / 382.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.3664, allocations: 219.1 kB / 382.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.3677, allocations: 1.067 MB / 383.8 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007962/0.3685, allocations: 0.5171 MB / 384.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005165/0.369, allocations: 409.7 kB / 384.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005984/0.3696, allocations: 483 kB / 385.2 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.3698, allocations: 96.66 kB / 385.3 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.37, allocations: 98.03 kB / 385.4 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.3701, allocations: 219.3 kB / 385.6 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.3706, allocations: 0.5027 MB / 386.1 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.372, allocations: 1.108 MB / 387.2 MB, free: 7.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.372, allocations: 1.688 kB / 387.2 MB, free: 7.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.372, allocations: 0 / 387.2 MB, free: 7.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.403e-05/0.3721, allocations: 0 / 387.2 MB, free: 7.598 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002369/0.3744, allocations: 1.268 MB / 388.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.3745, allocations: 10.09 kB / 388.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.3747, allocations: 110.2 kB / 388.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007826/0.3755, allocations: 453.9 kB / 389.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.892e-05/0.3756, allocations: 72.78 kB / 389.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.3758, allocations: 90.48 kB / 389.2 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.3773, allocations: 0.8726 MB / 390.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.3773, allocations: 1.344 kB / 390.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.3774, allocations: 41.28 kB / 390.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.3774, allocations: 23.84 kB / 390.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.3786, allocations: 0.5767 MB / 390.7 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004252/0.3829, allocations: 2.949 MB / 393.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.3833, allocations: 300.1 kB / 394 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/0.3837, allocations: 284.1 kB / 394.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.3837, allocations: 4.594 kB / 394.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3838, allocations: 39.5 kB / 394.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 1.984e-06/0.3838, allocations: 0 / 394.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.00143/0.3852, allocations: 0.6513 MB / 395 MB, free: 3.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.3853, allocations: 55.31 kB / 395 MB, free: 3.223 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/0.3859, allocations: 0.5123 MB / 395.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.3859, allocations: 36.2 kB / 395.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.3862, allocations: 0.4995 MB / 396.1 MB, free: 2.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.3863, allocations: 160.5 kB / 396.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.3865, allocations: 133.7 kB / 396.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.3866, allocations: 365.6 kB / 396.7 MB, free: 2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.3868, allocations: 170.1 kB / 396.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.3873, allocations: 456.9 kB / 397.3 MB, free: 1.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/0.388, allocations: 0.6489 MB / 398 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.3881, allocations: 0 / 398 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001317/0.3894, allocations: 0.759 MB / 398.7 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.3894, allocations: 13.34 kB / 398.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.3895, allocations: 9.609 kB / 398.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/0.3898, allocations: 91.05 kB / 398.8 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.3904, allocations: 195 kB / 399 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.3924, allocations: 2.012 MB / 401 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.393, allocations: 87.47 kB / 401.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.393, allocations: 35.44 kB / 401.2 MB, free: 14.74 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.000333/0.3934, allocations: 215.4 kB / 401.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.3935, allocations: 69.83 kB / 401.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.3936, allocations: 66.09 kB / 401.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3936, allocations: 4.438 kB / 401.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.3936, allocations: 2.188 kB / 401.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3937, allocations: 6.656 kB / 401.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009566/0.3946, allocations: 0.6413 MB / 402.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3946, allocations: 0 / 402.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.3951, allocations: 103 kB / 402.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.3953, allocations: 79.81 kB / 402.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.3953, allocations: 8.406 kB / 402.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.3972, allocations: 1.976 MB / 404.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3972, allocations: 4.062 kB / 404.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009722/0.3982, allocations: 0.6638 MB / 405 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.3984, allocations: 140.8 kB / 405.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.3984, allocations: 6.344 kB / 405.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.3988, allocations: 49.44 kB / 405.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.3989, allocations: 28.64 kB / 405.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.3989, allocations: 9.219 kB / 405.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004053/0.3993, allocations: 350.2 kB / 405.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3994, allocations: 7.938 kB / 405.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009229/0.4003, allocations: 248.4 kB / 405.8 MB, free: 11.54 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.0001849/0.4005, allocations: 113.9 kB / 405.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.4016, allocations: 0.6039 MB / 406.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.4016, allocations: 1.062 kB / 406.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000529/0.4022, allocations: 314.1 kB / 406.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.4028, allocations: 125.9 kB / 406.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.4054, allocations: 1.41 MB / 408.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/0.4061, allocations: 0.9304 MB / 409.3 MB, free: 9.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.4065, allocations: 73.91 kB / 409.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.4066, allocations: 39.56 kB / 409.4 MB, free: 9.234 MB / 334.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4066, allocations: 0 / 409.4 MB, free: 9.234 MB / 334.1 MB Notification: Performance of Templates: time 0.01562/0.4223, allocations: 7.293 MB / 416.7 MB, free: 4.777 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches