Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009674/0.0009674, allocations: 195.2 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 226.5 MB / 244.7 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000763/0.000763, allocations: 106.2 kB / 296.7 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002379/0.000238, allocations: 15.98 kB / 356.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.211, allocations: 51.29 MB / 408.1 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.003649/0.2147, allocations: 5.002 MB / 413.1 MB, free: 22.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.2164, allocations: 1.161 MB / 414.3 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.2167, allocations: 19.94 kB / 414.3 MB, free: 21.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.217, allocations: 127 kB / 414.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.2174, allocations: 242 kB / 414.7 MB, free: 21.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.2177, allocations: 159.8 kB / 414.8 MB, free: 20.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006405/0.2184, allocations: 0.9932 MB / 415.8 MB, free: 19.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005144/0.2189, allocations: 448.6 kB / 416.3 MB, free: 19.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.2191, allocations: 330.8 kB / 416.6 MB, free: 19.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.2195, allocations: 386.2 kB / 417 MB, free: 18.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.048e-05/0.2196, allocations: 52 kB / 417 MB, free: 18.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.2197, allocations: 51.94 kB / 417.1 MB, free: 18.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.2198, allocations: 163.3 kB / 417.2 MB, free: 18.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.22, allocations: 443.7 kB / 417.7 MB, free: 18.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.2205, allocations: 0.8151 MB / 418.5 MB, free: 17.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2205, allocations: 4 kB / 418.5 MB, free: 17.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2205, allocations: 0 / 418.5 MB, free: 17.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.2205, allocations: 0 / 418.5 MB, free: 17.27 MB / 298.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.001436/0.222, allocations: 1.076 MB / 419.6 MB, free: 16.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.222, allocations: 8.031 kB / 419.6 MB, free: 16.14 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.2222, allocations: 152.1 kB / 419.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.2223, allocations: 103.7 kB / 419.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.2227, allocations: 455.1 kB / 420.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.2228, allocations: 70.38 kB / 420.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.943e-05/0.2229, allocations: 96.28 kB / 420.4 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.224, allocations: 0.8637 MB / 421.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.224, allocations: 7.938 kB / 421.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.205e-05/0.2241, allocations: 39.94 kB / 421.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.2241, allocations: 27.98 kB / 421.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008003/0.2249, allocations: 0.5661 MB / 421.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.2282, allocations: 2.964 MB / 424.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.2286, allocations: 304.8 kB / 425.2 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.2289, allocations: 277.5 kB / 425.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.2289, allocations: 7.781 kB / 425.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.2289, allocations: 38.56 kB / 425.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 2.415e-06/0.2289, allocations: 0 / 425.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.00129/0.2302, allocations: 0.6658 MB / 426.2 MB, free: 9.289 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.2303, allocations: 59.34 kB / 426.2 MB, free: 9.219 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/0.2307, allocations: 0.5064 MB / 426.7 MB, free: 8.703 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.2307, allocations: 37.7 kB / 426.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.2309, allocations: 485.6 kB / 427.2 MB, free: 8.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/0.231, allocations: 157.8 kB / 427.4 MB, free: 8.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.231, allocations: 16 kB / 427.4 MB, free: 8.004 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.64e-05/0.2311, allocations: 366.8 kB / 427.8 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.2313, allocations: 169.9 kB / 427.9 MB, free: 7.469 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.2317, allocations: 453.6 kB / 428.4 MB, free: 6.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005805/0.2323, allocations: 0.6518 MB / 429 MB, free: 6.125 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2323, allocations: 4 kB / 429 MB, free: 6.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009619/0.2332, allocations: 0.7492 MB / 429.8 MB, free: 5.363 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2333, allocations: 8 kB / 429.8 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.2333, allocations: 12 kB / 429.8 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/0.2336, allocations: 85.09 kB / 429.9 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005967/0.2342, allocations: 195.7 kB / 430.1 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.2355, allocations: 1.807 MB / 431.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.236, allocations: 91.12 kB / 432 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.2361, allocations: 36 kB / 432 MB, free: 3 MB / 298.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 () * Number of clocked 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.000274/0.2363, allocations: 209.5 kB / 432.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.906e-05/0.2364, allocations: 63.33 kB / 432.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.007e-05/0.2365, allocations: 61.5 kB / 432.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2365, allocations: 4 kB / 432.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.2365, allocations: 8 kB / 432.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2366, allocations: 3.984 kB / 432.4 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.2371, allocations: 0.6456 MB / 433 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2371, allocations: 3.984 kB / 433 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.2375, allocations: 99.88 kB / 433.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/0.2377, allocations: 80.67 kB / 433.2 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.2378, allocations: 8 kB / 433.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.239, allocations: 1.788 MB / 435 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.239, allocations: 3.938 kB / 435 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.24, allocations: 0.6659 MB / 435.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.2402, allocations: 132.4 kB / 435.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.2402, allocations: 11.94 kB / 435.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.2406, allocations: 56.09 kB / 435.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.2407, allocations: 31.95 kB / 435.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.2407, allocations: 8 kB / 435.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003663/0.2411, allocations: 346.9 kB / 436.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2411, allocations: 0 / 436.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007695/0.2419, allocations: 247.2 kB / 436.5 MB, free: 14.31 MB / 314.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 () * Number of clocked 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.001233/0.2431, allocations: 1.218 MB / 437.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00096/0.2441, allocations: 0.5896 MB / 438.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2441, allocations: 0 / 438.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.2446, allocations: 326.7 kB / 438.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.2452, allocations: 118.2 kB / 438.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004914/0.2501, allocations: 3.878 MB / 442.6 MB, free: 7.945 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.2506, allocations: 0.922 MB / 443.5 MB, free: 6.996 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.2509, allocations: 271.3 kB / 443.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2509, allocations: 0 / 443.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.564/3.815, allocations: 13.09 MB / 456.9 MB, free: 9.617 MB / 330.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches