Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001582, allocations: 179.6 kB / 8.152 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.2 MB / 213.8 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001844/0.001843, allocations: 95.02 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.423e-05/1.441e-05, allocations: 4 kB / 314.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2416, allocations: 47.55 MB / 361.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.3627, allocations: 78 MB / 439.8 MB, free: 8.066 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.363, allocations: 66.03 kB / 439.9 MB, free: 8.004 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.05245/0.4155, allocations: 12.52 MB / 452.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.023e-05/0.4156, allocations: 20 kB / 452.4 MB, free: 11.48 MB / 346.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.002879/0.4185, allocations: 1.037 MB / 453.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4186, allocations: 12.03 kB / 453.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/0.4189, allocations: 102.8 kB / 453.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.4199, allocations: 442.1 kB / 454 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/0.42, allocations: 35.91 kB / 454.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.4202, allocations: 60 kB / 454.1 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001657/0.4219, allocations: 492 kB / 454.6 MB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.4239, allocations: 0.6996 MB / 455.3 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.424, allocations: 0 / 455.3 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.4241, allocations: 0 / 455.3 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.4241, allocations: 24 kB / 455.3 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007921/0.4321, allocations: 2.862 MB / 458.2 MB, free: 5.512 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/0.4327, allocations: 242.5 kB / 458.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.4332, allocations: 242 kB / 458.6 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.4333, allocations: 7.984 kB / 458.7 MB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.4333, allocations: 42.56 kB / 458.7 MB, free: 4.969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 4.108e-06/0.4334, allocations: 3.938 kB / 458.7 MB, free: 4.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.001229/0.4346, allocations: 361.8 kB / 459.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.4347, allocations: 59.19 kB / 459.1 MB, free: 4.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007912/0.4355, allocations: 405 kB / 459.5 MB, free: 4.129 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/0.4356, allocations: 25.7 kB / 459.5 MB, free: 4.098 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.4359, allocations: 0.4921 MB / 460 MB, free: 3.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.4361, allocations: 149.8 kB / 460.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.4361, allocations: 1.031 kB / 460.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4363, allocations: 338.8 kB / 460.5 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.4367, allocations: 141.6 kB / 460.6 MB, free: 2.973 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/0.4374, allocations: 410.6 kB / 461 MB, free: 2.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005638/0.438, allocations: 213.3 kB / 461.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.438, allocations: 4 kB / 461.3 MB, free: 2.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001774/0.4398, allocations: 0.6105 MB / 461.9 MB, free: 1.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.4398, allocations: 4 kB / 461.9 MB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.4398, allocations: 8 kB / 461.9 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/0.4402, allocations: 79.39 kB / 462 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.4417, allocations: 203.7 kB / 462.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.4442, allocations: 1.6 MB / 463.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/0.445, allocations: 47.44 kB / 463.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.445, allocations: 33.78 kB / 463.8 MB, free: 15.54 MB / 362.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 {(3,77.8%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.4452, allocations: 57.44 kB / 463.9 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.4454, allocations: 63.28 kB / 463.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.4456, allocations: 52.98 kB / 464 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4456, allocations: 4 kB / 464 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.4457, allocations: 3.906 kB / 464 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.4457, allocations: 3.984 kB / 464 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.4467, allocations: 0.548 MB / 464.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4468, allocations: 4 kB / 464.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009083/0.4477, allocations: 103.9 kB / 464.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003964/0.4481, allocations: 60.81 kB / 464.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.4481, allocations: 15.98 kB / 464.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002557/0.4507, allocations: 1.697 MB / 466.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4508, allocations: 0 / 466.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001585/0.4524, allocations: 0.6066 MB / 467 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.4526, allocations: 140.2 kB / 467.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.4528, allocations: 0 / 467.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008162/0.4536, allocations: 47.97 kB / 467.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.4537, allocations: 19.97 kB / 467.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.4538, allocations: 12 kB / 467.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0005396/0.4543, allocations: 291 kB / 467.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00106/0.4554, allocations: 227.1 kB / 467.8 MB, free: 11.41 MB / 362.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.0002372/0.4556, allocations: 116.3 kB / 467.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.457, allocations: 0.5091 MB / 468.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.457, allocations: 4.25 kB / 468.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007028/0.4578, allocations: 265.7 kB / 468.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/0.4586, allocations: 73.45 kB / 468.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.462, allocations: 1.102 MB / 469.8 MB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008897/0.4629, allocations: 0.9916 MB / 470.8 MB, free: 8.262 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.4629, allocations: 0 / 470.8 MB, free: 8.262 MB / 362.7 MB Notification: Performance of Templates: time 0.02221/0.4851, allocations: 10.62 MB / 481.4 MB, free: 13.66 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches