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.0009661/0.0009666, allocations: 99.89 kB / 17.01 MB, free: 6.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001257/0.001257, allocations: 197.4 kB / 17.91 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002512/0.0002514, allocations: 11.98 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1412, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002941/0.1442, allocations: 2.393 MB / 361 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1453, allocations: 0.6352 MB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1455, allocations: 4 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.1456, allocations: 35.69 kB / 361.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.1458, allocations: 83.38 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.1461, allocations: 51.94 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.1464, allocations: 319 kB / 362.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.1466, allocations: 110.4 kB / 362.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1468, allocations: 111.6 kB / 362.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.147, allocations: 123.5 kB / 362.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.147, allocations: 16 kB / 362.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.307e-05/0.1471, allocations: 16 kB / 362.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.1471, allocations: 51.77 kB / 362.6 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.014e-05/0.1472, allocations: 77.58 kB / 362.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.1475, allocations: 267.5 kB / 362.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1475, allocations: 0 / 362.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1475, allocations: 0 / 362.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1475, allocations: 0 / 362.9 MB, free: 9.137 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.0008749/0.1484, allocations: 0.5379 MB / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1484, allocations: 8.031 kB / 363.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.1485, allocations: 31.62 kB / 363.5 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.1488, allocations: 266.5 kB / 363.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.1489, allocations: 16.56 kB / 363.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.1489, allocations: 28 kB / 363.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.1494, allocations: 252.8 kB / 364 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1495, allocations: 0 / 364 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.1495, allocations: 15.94 kB / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1495, allocations: 11.94 kB / 364.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.1499, allocations: 190.2 kB / 364.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.1515, allocations: 1.014 MB / 365.3 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.152, allocations: 333.4 kB / 365.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.1522, allocations: 152.7 kB / 365.7 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.1522, allocations: 4.172 kB / 365.7 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1523, allocations: 34.75 kB / 365.8 MB, free: 6.047 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.1523, allocations: 4 kB / 365.8 MB, free: 6.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001505/0.1538, allocations: 0.7843 MB / 366.6 MB, free: 5.211 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1538, allocations: 55.41 kB / 366.6 MB, free: 5.145 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1541, allocations: 202 kB / 366.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1541, allocations: 29.7 kB / 366.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.1542, allocations: 168.3 kB / 367 MB, free: 4.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/0.1543, allocations: 94.58 kB / 367.1 MB, free: 4.637 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.1543, allocations: 4 kB / 367.1 MB, free: 4.633 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1545, allocations: 338.8 kB / 367.4 MB, free: 4.293 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1546, allocations: 72.53 kB / 367.5 MB, free: 4.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.1548, allocations: 107.5 kB / 367.6 MB, free: 4.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1549, allocations: 92.5 kB / 367.7 MB, free: 4.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1549, allocations: 4 kB / 367.7 MB, free: 4.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004997/0.1554, allocations: 314.1 kB / 368 MB, free: 3.703 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1555, allocations: 8 kB / 368 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1555, allocations: 0 / 368 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/0.1557, allocations: 84.84 kB / 368.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.1559, allocations: 47.92 kB / 368.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.158, allocations: 1.897 MB / 370 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.1582, allocations: 12.09 kB / 370 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.1582, allocations: 8 kB / 370.1 MB, free: 1.512 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 (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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.1583, allocations: 137.8 kB / 370.2 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.1584, allocations: 23.77 kB / 370.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.1584, allocations: 29.86 kB / 370.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1585, allocations: 4 kB / 370.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1585, allocations: 0 / 370.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1585, allocations: 0 / 370.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.1596, allocations: 0.7566 MB / 371 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.1596, allocations: 4 kB / 371 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.1598, allocations: 47.91 kB / 371.1 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001844/0.16, allocations: 64.84 kB / 371.1 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.16, allocations: 11.98 kB / 371.1 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.258/0.4181, allocations: 1.772 MB / 372.9 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4181, allocations: 6.875 kB / 372.9 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.419, allocations: 465.6 kB / 373.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/0.4191, allocations: 92.08 kB / 373.5 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.4192, allocations: 10.95 kB / 373.5 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.4193, allocations: 17.3 kB / 373.5 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.4194, allocations: 23.11 kB / 373.5 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.4195, allocations: 9.984 kB / 373.5 MB, free: 17.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.4196, allocations: 141.4 kB / 373.6 MB, free: 17.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4196, allocations: 0 / 373.6 MB, free: 17.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005052/0.4201, allocations: 74.28 kB / 373.7 MB, free: 17.47 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 (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.0001639/0.4203, allocations: 111.7 kB / 373.8 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007712/0.4211, allocations: 363.2 kB / 374.2 MB, free: 17.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4211, allocations: 3.969 kB / 374.2 MB, free: 17.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.4216, allocations: 261.6 kB / 374.4 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.4221, allocations: 35.08 kB / 374.5 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.4235, allocations: 0.953 MB / 375.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.4238, allocations: 0.7627 MB / 376.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.047e-05/0.4239, allocations: 21.05 kB / 376.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.4239, allocations: 16.88 kB / 376.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4239, allocations: 1.156 kB / 376.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of Templates: time 0.00774/0.4317, allocations: 2.898 MB / 379.1 MB, free: 15.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches