Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009919/0.0009919, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 221.3 MB / 235.5 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008404/0.0008406, allocations: 99.78 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.429e-05/2.431e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0825/0.08254, allocations: 50.41 MB / 394.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2895/0.3721, allocations: 80.06 MB / 474.3 MB, free: 7.469 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/0.3724, allocations: 79.78 kB / 474.4 MB, free: 7.395 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04127/0.4137, allocations: 13.37 MB / 487.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4138, allocations: 0 / 487.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.718e-05/0.4138, allocations: 24 kB / 487.8 MB, free: 9.949 MB / 362.7 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.001536/0.4154, allocations: 1.002 MB / 488.8 MB, free: 8.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4154, allocations: 12.03 kB / 488.8 MB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.4156, allocations: 98.88 kB / 488.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005437/0.4161, allocations: 443 kB / 489.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/0.4162, allocations: 77.94 kB / 489.4 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.4163, allocations: 92 kB / 489.5 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.4175, allocations: 0.8325 MB / 490.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.4176, allocations: 0 / 490.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/0.4176, allocations: 43.94 kB / 490.4 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.4177, allocations: 24 kB / 490.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000852/0.4185, allocations: 0.535 MB / 490.9 MB, free: 6.688 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004005/0.4225, allocations: 3.003 MB / 493.9 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.4229, allocations: 286.4 kB / 494.2 MB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.4233, allocations: 260.8 kB / 494.4 MB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.4233, allocations: 4 kB / 494.5 MB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.4233, allocations: 43.25 kB / 494.5 MB, free: 2.965 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.593e-06/0.4233, allocations: 0 / 494.5 MB, free: 2.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006952/0.424, allocations: 389 kB / 494.9 MB, free: 2.574 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.4241, allocations: 55.41 kB / 494.9 MB, free: 2.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.4246, allocations: 448.5 kB / 495.4 MB, free: 2.066 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.4246, allocations: 45.64 kB / 495.4 MB, free: 2.016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.4249, allocations: 497.3 kB / 495.9 MB, free: 1.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.557e-05/0.425, allocations: 153.9 kB / 496 MB, free: 1.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.425, allocations: 16 kB / 496.1 MB, free: 1.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4251, allocations: 362.8 kB / 496.4 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.4254, allocations: 153.6 kB / 496.6 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/0.4258, allocations: 439.5 kB / 497 MB, free: 292 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.4261, allocations: 239 kB / 497.2 MB, free: 52 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.4261, allocations: 4 kB / 497.2 MB, free: 48 kB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001097/0.4273, allocations: 0.7297 MB / 498 MB, free: 15.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.4273, allocations: 8 kB / 498 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.4273, allocations: 12 kB / 498 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/0.4276, allocations: 84.81 kB / 498.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.4282, allocations: 195.9 kB / 498.3 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.4298, allocations: 1.796 MB / 0.4883 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.4303, allocations: 87.03 kB / 0.4884 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.4303, allocations: 32 kB / 0.4884 GB, free: 12.96 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.4305, allocations: 165 kB / 0.4886 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.4306, allocations: 59.34 kB / 0.4887 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.4307, allocations: 61.28 kB / 0.4887 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4307, allocations: 7.938 kB / 0.4887 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.4307, allocations: 4 kB / 0.4887 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4307, allocations: 7.969 kB / 0.4887 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000712/0.4314, allocations: 0.6454 MB / 0.4894 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4314, allocations: 0 / 0.4894 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004035/0.4318, allocations: 111.9 kB / 0.4895 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.4321, allocations: 64.81 kB / 0.4895 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.4321, allocations: 8 kB / 0.4895 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.4336, allocations: 1.78 MB / 0.4913 GB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4336, allocations: 7.891 kB / 0.4913 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008095/0.4344, allocations: 0.6297 MB / 0.4919 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.4345, allocations: 144.3 kB / 0.492 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/0.4346, allocations: 12.06 kB / 0.4921 GB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.435, allocations: 47.97 kB / 0.4921 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.4351, allocations: 31.95 kB / 0.4921 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.4351, allocations: 12 kB / 0.4921 GB, free: 8.945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003325/0.4355, allocations: 337.9 kB / 0.4925 GB, free: 8.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4355, allocations: 0 / 0.4925 GB, free: 8.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006924/0.4362, allocations: 251.2 kB / 0.4927 GB, free: 8.371 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001855/0.4364, allocations: 115.5 kB / 0.4928 GB, free: 8.246 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008261/0.4372, allocations: 0.569 MB / 0.4934 GB, free: 7.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4372, allocations: 0.8125 kB / 0.4934 GB, free: 7.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004183/0.4377, allocations: 314.2 kB / 0.4937 GB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.4382, allocations: 102 kB / 0.4938 GB, free: 7.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.4399, allocations: 1.087 MB / 0.4948 GB, free: 6.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.4403, allocations: 0.9495 MB / 0.4958 GB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002868/0.4406, allocations: 65.22 kB / 0.4958 GB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.933e-05/0.4407, allocations: 39.44 kB / 0.4959 GB, free: 5.047 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4407, allocations: 4 kB / 0.4959 GB, free: 5.043 MB / 378.7 MB Notification: Performance of Templates: time 0.01162/0.4524, allocations: 6.531 MB / 0.5022 GB, free: 14.57 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches