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.001401/0.001401, allocations: 108.3 kB / 18.4 MB, free: 4.691 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.001376/0.001376, allocations: 184.2 kB / 19.33 MB, free: 3.777 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.337/1.337, allocations: 205.1 MB / 225.2 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.001487/0.001487, allocations: 47.94 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09244, allocations: 46.61 MB / 375.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.1884/0.2809, allocations: 5.715 MB / 381.6 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.2829, allocations: 1.196 MB / 382.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/0.2833, allocations: 24.56 kB / 382.8 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.2836, allocations: 171.2 kB / 383 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.2841, allocations: 271.3 kB / 383.2 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.2846, allocations: 224.2 kB / 383.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009928/0.2856, allocations: 1.069 MB / 384.5 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006557/0.2862, allocations: 0.5137 MB / 385 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/0.2866, allocations: 412.5 kB / 385.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/0.2871, allocations: 483 kB / 385.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.2873, allocations: 97.06 kB / 386 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.2875, allocations: 101.5 kB / 386.1 MB, free: 8.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.2876, allocations: 215.5 kB / 386.3 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.288, allocations: 0.5036 MB / 386.8 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.2891, allocations: 1.103 MB / 387.9 MB, free: 7.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2892, allocations: 0 / 387.9 MB, free: 7.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2892, allocations: 0 / 387.9 MB, free: 7.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.2892, allocations: 0 / 387.9 MB, free: 7.605 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.001908/0.2911, allocations: 1.243 MB / 389.1 MB, free: 6.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.2912, allocations: 9.125 kB / 389.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.2913, allocations: 102.4 kB / 389.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006554/0.292, allocations: 459.5 kB / 389.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/0.2921, allocations: 72.62 kB / 389.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.2922, allocations: 93.7 kB / 389.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.2936, allocations: 0.8704 MB / 390.7 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2936, allocations: 0 / 390.7 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/0.2937, allocations: 42 kB / 390.8 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.2937, allocations: 27.38 kB / 390.8 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009653/0.2947, allocations: 0.5663 MB / 391.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003847/0.2986, allocations: 2.951 MB / 394.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.299, allocations: 294.6 kB / 394.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.2994, allocations: 274.6 kB / 394.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2994, allocations: 4.375 kB / 394.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.2994, allocations: 45.77 kB / 394.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 1.884e-06/0.2994, allocations: 0 / 394.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.001375/0.3008, allocations: 0.6471 MB / 395.6 MB, free: 3.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.3008, allocations: 56.78 kB / 395.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.3014, allocations: 0.5146 MB / 396.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3015, allocations: 36.08 kB / 396.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.3017, allocations: 490.6 kB / 396.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.3018, allocations: 157.7 kB / 396.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.302, allocations: 134.1 kB / 396.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.302, allocations: 365.2 kB / 397.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.3023, allocations: 171.9 kB / 397.5 MB, free: 2.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.3027, allocations: 460 kB / 397.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006174/0.3033, allocations: 0.6465 MB / 398.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3034, allocations: 2.031 kB / 398.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001133/0.3045, allocations: 0.7619 MB / 399.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.3045, allocations: 9.766 kB / 399.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.3045, allocations: 10.56 kB / 399.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000289/0.3048, allocations: 87.58 kB / 399.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.3055, allocations: 201 kB / 399.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.3074, allocations: 1.996 MB / 401.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/0.308, allocations: 90.64 kB / 401.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/0.308, allocations: 36.67 kB / 401.8 MB, free: 14.79 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.0002808/0.3083, allocations: 215.3 kB / 402 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3084, allocations: 57.03 kB / 402 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.3086, allocations: 67.2 kB / 402.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3086, allocations: 4.906 kB / 402.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.3086, allocations: 1.406 kB / 402.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.3086, allocations: 6.516 kB / 402.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008563/0.3095, allocations: 0.6442 MB / 402.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3095, allocations: 0 / 402.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.3099, allocations: 105.7 kB / 402.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/0.3101, allocations: 71.33 kB / 402.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.3101, allocations: 9.328 kB / 402.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.3119, allocations: 1.978 MB / 404.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3119, allocations: 0 / 404.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009754/0.3129, allocations: 0.6688 MB / 405.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.313, allocations: 138.6 kB / 405.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.3131, allocations: 10.25 kB / 405.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.3135, allocations: 44.31 kB / 405.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.3136, allocations: 30.3 kB / 405.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.3136, allocations: 13.22 kB / 405.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003891/0.314, allocations: 347 kB / 406.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.314, allocations: 0 / 406.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008537/0.3149, allocations: 240.8 kB / 406.4 MB, free: 11.61 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.000163/0.315, allocations: 118.8 kB / 406.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3161, allocations: 0.5954 MB / 407.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3161, allocations: 1.219 kB / 407.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.3166, allocations: 323.1 kB / 407.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.3171, allocations: 123.2 kB / 407.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.3193, allocations: 1.416 MB / 408.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.3198, allocations: 0.9291 MB / 409.9 MB, free: 9.355 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.32, allocations: 43.59 kB / 409.9 MB, free: 9.348 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.32, allocations: 1.25 kB / 409.9 MB, free: 9.348 MB / 334.1 MB Notification: Performance of Templates: time 0.01707/0.337, allocations: 11.05 MB / 421 MB, free: 1.133 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/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