Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 65.05 kB / 307.1 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1132, allocations: 50.54 MB / 357.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00457/0.1178, allocations: 2.863 MB / 360.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1193, allocations: 0.6428 MB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.1196, allocations: 11.94 kB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.1198, allocations: 35.75 kB / 361.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.1201, allocations: 75.38 kB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.1204, allocations: 59.95 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.1208, allocations: 350.9 kB / 361.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.1211, allocations: 143.3 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.1214, allocations: 135.5 kB / 361.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.1216, allocations: 143.4 kB / 362.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.1217, allocations: 32 kB / 362.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.1218, allocations: 32 kB / 362.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.1218, allocations: 79.69 kB / 362.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.122, allocations: 155.3 kB / 362.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.1223, allocations: 271.5 kB / 362.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1224, allocations: 0 / 362.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1224, allocations: 0 / 362.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.1224, allocations: 3.938 kB / 362.6 MB, free: 9.375 MB / 302.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.001086/0.1235, allocations: 0.5925 MB / 363.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.1235, allocations: 12.03 kB / 363.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.72e-05/0.1236, allocations: 40.5 kB / 363.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.124, allocations: 255.8 kB / 363.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.124, allocations: 20.94 kB / 363.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.1241, allocations: 36.27 kB / 363.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.1246, allocations: 253.2 kB / 363.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1246, allocations: 0 / 363.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.1247, allocations: 16 kB / 363.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1247, allocations: 4 kB / 363.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.1251, allocations: 190.1 kB / 364.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.1268, allocations: 1.014 MB / 365.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.1272, allocations: 328.9 kB / 365.4 MB, free: 6.422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.1275, allocations: 140.8 kB / 365.5 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1275, allocations: 4 kB / 365.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.1276, allocations: 38.56 kB / 365.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.1276, allocations: 0 / 365.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001545/0.1291, allocations: 0.7866 MB / 366.4 MB, free: 5.395 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1292, allocations: 51.41 kB / 366.4 MB, free: 5.332 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1294, allocations: 194.1 kB / 366.6 MB, free: 5.129 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1294, allocations: 29.7 kB / 366.6 MB, free: 5.094 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1295, allocations: 164.3 kB / 366.8 MB, free: 4.926 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.551e-05/0.1296, allocations: 98.64 kB / 366.9 MB, free: 4.828 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.277e-05/0.1297, allocations: 45.98 kB / 366.9 MB, free: 4.777 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1299, allocations: 338.8 kB / 367.3 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.13, allocations: 76.53 kB / 367.3 MB, free: 4.363 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.1302, allocations: 99.58 kB / 367.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.1305, allocations: 178.2 kB / 367.6 MB, free: 4.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1305, allocations: 0 / 367.6 MB, free: 4.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000567/0.1311, allocations: 322 kB / 367.9 MB, free: 3.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1311, allocations: 11.94 kB / 367.9 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1311, allocations: 0 / 367.9 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002673/0.1314, allocations: 84.81 kB / 368 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.1316, allocations: 47.91 kB / 368.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.1338, allocations: 2.088 MB / 370.1 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.134, allocations: 15.94 kB / 370.2 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.134, allocations: 16 kB / 370.2 MB, free: 1.355 MB / 302.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.0001637/0.1342, allocations: 141.8 kB / 370.3 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.1342, allocations: 19.81 kB / 370.3 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/0.1343, allocations: 25.88 kB / 370.4 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1343, allocations: 4 kB / 370.4 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.1343, allocations: 4 kB / 370.4 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1343, allocations: 7.922 kB / 370.4 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.1354, allocations: 0.745 MB / 371.1 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1354, allocations: 0 / 371.1 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.1356, allocations: 39.92 kB / 371.2 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/0.1358, allocations: 72.8 kB / 371.2 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.1359, allocations: 4 kB / 371.2 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1896/0.3254, allocations: 1.99 MB / 373.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3255, allocations: 1.656 kB / 373.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006906/0.3262, allocations: 456.3 kB / 373.7 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.3262, allocations: 102.9 kB / 373.8 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.3263, allocations: 4.75 kB / 373.8 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.3265, allocations: 17.42 kB / 373.8 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.3265, allocations: 20.61 kB / 373.8 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3266, allocations: 6.078 kB / 373.8 MB, free: 18.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.3267, allocations: 141.1 kB / 374 MB, free: 18.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3267, allocations: 0 / 374 MB, free: 18.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004658/0.3272, allocations: 77.94 kB / 374 MB, free: 18.36 MB / 302.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.0001373/0.3273, allocations: 103.5 kB / 374.1 MB, free: 18.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007197/0.328, allocations: 374.6 kB / 374.5 MB, free: 18.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.328, allocations: 1.125 kB / 374.5 MB, free: 18.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.3285, allocations: 263 kB / 374.8 MB, free: 18.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.3289, allocations: 42.59 kB / 374.8 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.3302, allocations: 0.9159 MB / 375.7 MB, free: 17.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.3305, allocations: 0.7693 MB / 376.5 MB, free: 16.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.3305, allocations: 18.5 kB / 376.5 MB, free: 16.77 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3305, allocations: 0.5625 kB / 376.5 MB, free: 16.77 MB / 302.1 MB Notification: Performance of Templates: time 0.008843/0.3394, allocations: 4.02 MB / 380.5 MB, free: 16.48 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches