Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 107.9 kB / 18.4 MB, free: 4.66 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.001222/0.001222, allocations: 190.4 kB / 19.33 MB, free: 3.738 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.239/1.239, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001146/0.001146, allocations: 47.94 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07612/0.07728, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003364/0.08068, allocations: 2.766 MB / 378.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.08174, allocations: 0.6589 MB / 379.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.08191, allocations: 4 kB / 379.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.08207, allocations: 51.5 kB / 379.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.08224, allocations: 95.17 kB / 379.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.08243, allocations: 67.91 kB / 379.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.08274, allocations: 354.7 kB / 379.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.08298, allocations: 147.3 kB / 380 MB, free: 424 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.08312, allocations: 131.6 kB / 380.1 MB, free: 292 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.0833, allocations: 147.3 kB / 380.2 MB, free: 144 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.08335, allocations: 32 kB / 380.3 MB, free: 112 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.08341, allocations: 32 kB / 380.3 MB, free: 80 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.08347, allocations: 75.7 kB / 380.4 MB, free: 4 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1615/0.245, allocations: 152.4 kB / 380.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.2455, allocations: 360.7 kB / 380.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2455, allocations: 1.75 kB / 380.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2455, allocations: 0 / 380.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.2455, allocations: 0 / 380.9 MB, free: 10.72 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0007582/0.2463, allocations: 0.5881 MB / 381.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.2463, allocations: 10.33 kB / 381.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.2464, allocations: 33.03 kB / 381.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.2467, allocations: 257.7 kB / 381.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.2468, allocations: 21.75 kB / 381.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.2468, allocations: 28.06 kB / 381.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.2472, allocations: 252 kB / 382 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2473, allocations: 3.938 kB / 382 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.2473, allocations: 9.031 kB / 382.1 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.2473, allocations: 6.938 kB / 382.1 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.2476, allocations: 189.6 kB / 382.2 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.2491, allocations: 1.011 MB / 383.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.2494, allocations: 331.9 kB / 383.6 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.2497, allocations: 142.2 kB / 383.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.2497, allocations: 2.406 kB / 383.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.2497, allocations: 33.55 kB / 383.8 MB, free: 9.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.2498, allocations: 0 / 383.8 MB, free: 9.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001354/0.2511, allocations: 0.7786 MB / 384.5 MB, free: 8.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.2511, allocations: 53.91 kB / 384.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.2513, allocations: 196.1 kB / 384.8 MB, free: 8.699 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.2513, allocations: 38.48 kB / 384.8 MB, free: 8.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.2514, allocations: 173.6 kB / 385 MB, free: 8.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.2515, allocations: 92.23 kB / 385.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.2515, allocations: 45.92 kB / 385.1 MB, free: 8.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.2516, allocations: 334.1 kB / 385.4 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.2517, allocations: 73.94 kB / 385.5 MB, free: 8.062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.2519, allocations: 97.05 kB / 385.6 MB, free: 8.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.2521, allocations: 183.3 kB / 385.8 MB, free: 7.926 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2521, allocations: 4.375 kB / 385.8 MB, free: 7.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000458/0.2526, allocations: 317.7 kB / 386.1 MB, free: 7.781 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2526, allocations: 5.062 kB / 386.1 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2526, allocations: 1.984 kB / 386.1 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/0.2529, allocations: 87.41 kB / 386.2 MB, free: 7.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.2531, allocations: 45.66 kB / 386.2 MB, free: 7.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.2546, allocations: 2.087 MB / 388.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.2548, allocations: 7.484 kB / 388.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.2548, allocations: 21.53 kB / 388.4 MB, free: 5.93 MB / 318.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.0001102/0.2549, allocations: 140.9 kB / 388.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.2549, allocations: 19.08 kB / 388.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.255, allocations: 30.39 kB / 388.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.255, allocations: 2.844 kB / 388.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.255, allocations: 2.219 kB / 388.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.255, allocations: 2.938 kB / 388.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009283/0.256, allocations: 0.7459 MB / 389.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.256, allocations: 0 / 389.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.2562, allocations: 39.03 kB / 389.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001854/0.2563, allocations: 71.34 kB / 389.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.2564, allocations: 13.67 kB / 389.4 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.2577, allocations: 1.978 MB / 391.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2577, allocations: 0 / 391.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.2583, allocations: 478.2 kB / 391.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.2584, allocations: 99.67 kB / 392 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.2584, allocations: 6.047 kB / 392 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.2586, allocations: 13.81 kB / 392 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.2586, allocations: 16.36 kB / 392 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2586, allocations: 9.922 kB / 392 MB, free: 3.102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.91e-05/0.2588, allocations: 145.7 kB / 392.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2588, allocations: 4 kB / 392.2 MB, free: 3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000421/0.2592, allocations: 75.81 kB / 392.2 MB, free: 2.992 MB / 318.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.0001052/0.2593, allocations: 110.1 kB / 392.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005924/0.2599, allocations: 365.4 kB / 392.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2599, allocations: 1.219 kB / 392.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.2603, allocations: 266.3 kB / 393 MB, free: 2.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.2606, allocations: 43.02 kB / 393 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2617, allocations: 0.7835 MB / 393.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.2619, allocations: 0.7686 MB / 394.5 MB, free: 1.293 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.2619, allocations: 18.72 kB / 394.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2619, allocations: 0 / 394.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of Templates: time 0.006695/0.2686, allocations: 4.07 MB / 398.6 MB, free: 0.9648 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches