Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 105.7 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 209.7 kB / 18.14 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.3 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001595, allocations: 59.84 kB / 306.3 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1231, allocations: 50.54 MB / 356.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00941/0.1326, allocations: 5.77 MB / 362.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00394/0.1366, allocations: 1.2 MB / 363.9 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.1377, allocations: 23.94 kB / 363.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.1383, allocations: 135 kB / 364 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000784/0.1391, allocations: 234 kB / 364.2 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.1396, allocations: 183.8 kB / 364.4 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009383/0.1406, allocations: 1.017 MB / 365.4 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006858/0.1413, allocations: 456.6 kB / 365.9 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.1417, allocations: 386.6 kB / 366.3 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004785/0.1422, allocations: 457.9 kB / 366.7 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.1423, allocations: 72 kB / 366.8 MB, free: 4.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1425, allocations: 76 kB / 366.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.1426, allocations: 199.2 kB / 367 MB, free: 4.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.1431, allocations: 489.6 kB / 367.5 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008638/0.1439, allocations: 1.059 MB / 368.6 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.144, allocations: 4 kB / 368.6 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.144, allocations: 0 / 368.6 MB, free: 2.594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.144, allocations: 0 / 368.6 MB, free: 2.594 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001917/0.1459, allocations: 1.234 MB / 369.8 MB, free: 1.312 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.146, allocations: 11.97 kB / 369.8 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.1461, allocations: 148.1 kB / 370 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.1463, allocations: 107.7 kB / 370.1 MB, free: 1.043 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.1469, allocations: 451.1 kB / 370.5 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.876e-05/0.147, allocations: 78.36 kB / 370.6 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.1471, allocations: 88.38 kB / 370.7 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1883/0.3354, allocations: 0.871 MB / 371.6 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.3355, allocations: 0 / 371.6 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.532e-05/0.3356, allocations: 39.34 kB / 371.6 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/0.3356, allocations: 23.41 kB / 371.6 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.3367, allocations: 0.5719 MB / 372.2 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004593/0.3413, allocations: 2.957 MB / 375.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.3418, allocations: 304.1 kB / 375.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.3422, allocations: 271.8 kB / 375.7 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.3422, allocations: 4.125 kB / 375.7 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3423, allocations: 43.44 kB / 375.8 MB, free: 18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.505e-06/0.3423, allocations: 0 / 375.8 MB, free: 18 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.00148/0.3437, allocations: 0.6608 MB / 376.4 MB, free: 17.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.3438, allocations: 55.66 kB / 376.5 MB, free: 17.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006634/0.3445, allocations: 0.5048 MB / 377 MB, free: 17.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.3445, allocations: 36.77 kB / 377 MB, free: 17.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.3448, allocations: 492.6 kB / 377.5 MB, free: 16.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.505e-05/0.3449, allocations: 152.2 kB / 377.6 MB, free: 16.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.3451, allocations: 133.9 kB / 377.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3452, allocations: 365.5 kB / 378.1 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.3455, allocations: 171.1 kB / 378.3 MB, free: 16.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.3459, allocations: 459 kB / 378.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006786/0.3466, allocations: 0.6502 MB / 379.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.3466, allocations: 2.812 kB / 379.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001281/0.3479, allocations: 0.7619 MB / 380.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.3479, allocations: 8.531 kB / 380.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.348, allocations: 10.55 kB / 380.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003426/0.3483, allocations: 83.58 kB / 380.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/0.349, allocations: 200 kB / 380.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.3507, allocations: 1.798 MB / 382.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.3512, allocations: 90.48 kB / 382.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.3513, allocations: 38.78 kB / 382.4 MB, free: 13.33 MB / 302.1 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 (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 prepare postOptimizeDAE: time 0.0003278/0.3516, allocations: 227.1 kB / 382.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/0.3517, allocations: 58.09 kB / 382.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.786e-05/0.3518, allocations: 62.36 kB / 382.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3518, allocations: 4.625 kB / 382.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.3518, allocations: 4.062 kB / 382.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.3518, allocations: 3.906 kB / 382.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.3529, allocations: 0.6372 MB / 383.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3529, allocations: 1.188 kB / 383.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.3533, allocations: 100.9 kB / 383.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/0.3536, allocations: 73.2 kB / 383.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.3536, allocations: 7.391 kB / 383.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.3552, allocations: 1.797 MB / 385.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3552, allocations: 1.156 kB / 385.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3563, allocations: 0.6599 MB / 386 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3565, allocations: 140.5 kB / 386.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.3565, allocations: 6.781 kB / 386.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.3569, allocations: 48.05 kB / 386.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.357, allocations: 29.38 kB / 386.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.357, allocations: 10.72 kB / 386.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005019/0.3576, allocations: 350.3 kB / 386.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3576, allocations: 0 / 386.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008912/0.3585, allocations: 252.9 kB / 386.8 MB, free: 10.32 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,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 (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.001147/0.3596, allocations: 1.22 MB / 388 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3607, allocations: 0.5862 MB / 388.6 MB, free: 9.141 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.3607, allocations: 1.5 kB / 388.6 MB, free: 9.141 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005039/0.3612, allocations: 316.4 kB / 388.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007802/0.362, allocations: 111.3 kB / 389 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006958/0.369, allocations: 6.003 MB / 395.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.3694, allocations: 0.9314 MB / 396 MB, free: 4.102 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003716/0.3698, allocations: 69.59 kB / 396.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.3701, allocations: 261.7 kB / 396.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of SimCode: time 1.392e-06/0.3701, allocations: 0 / 396.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.3938, allocations: 12.11 MB / 408.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.394, allocations: 224.4 kB / 408.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.4, allocations: 3.938 kB / 408.6 MB, free: 10.64 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches