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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008361/0.0008361, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008627/0.0008627, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8707/0.8707, allocations: 177 MB / 204.1 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.829e-06/1.14e-05, allocations: 3.266 kB / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004041/0.004052, allocations: 5.091 MB / 329.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.005338, allocations: 1.176 MB / 330.8 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.005555, allocations: 23.94 kB / 330.9 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.005793, allocations: 166.4 kB / 331 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.0061, allocations: 297.2 kB / 331.3 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.006387, allocations: 235.6 kB / 331.6 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006081/0.006995, allocations: 1.106 MB / 332.7 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000384/0.007379, allocations: 371 kB / 333 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.007993, allocations: 0.6316 MB / 333.7 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.008276, allocations: 342.9 kB / 334 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.593e-05/0.008362, allocations: 96 kB / 334.1 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-05/0.00845, allocations: 96 kB / 334.2 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/0.008548, allocations: 219.2 kB / 334.4 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.008744, allocations: 367.1 kB / 334.7 MB, free: 5.566 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.009375, allocations: 1.129 MB / 335.9 MB, free: 4.434 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.009378, allocations: 4 kB / 335.9 MB, free: 4.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.009379, allocations: 0 / 335.9 MB, free: 4.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.009387, allocations: 3.938 kB / 335.9 MB, free: 4.426 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.001121/0.01051, allocations: 1.171 MB / 337.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.01055, allocations: 15.98 kB / 337.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.01066, allocations: 156.1 kB / 337.2 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.349e-05/0.01075, allocations: 108.3 kB / 337.3 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.01117, allocations: 396.8 kB / 337.7 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.01121, allocations: 74.38 kB / 337.8 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.226e-05/0.01128, allocations: 92.31 kB / 337.9 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000907/0.01219, allocations: 1.152 MB / 339 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.0122, allocations: 192 / 339 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.01225, allocations: 48.06 kB / 339.1 MB, free: 1.066 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.01227, allocations: 24 kB / 339.1 MB, free: 1.043 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006127/0.01288, allocations: 0.57 MB / 339.7 MB, free: 484 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.01554, allocations: 2.671 MB / 342.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.01581, allocations: 262.4 kB / 342.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.01603, allocations: 229 kB / 342.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.01604, allocations: 4 kB / 342.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.01606, allocations: 42.56 kB / 342.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.232e-06/0.01606, allocations: 4 kB / 342.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008343/0.0169, allocations: 0.5692 MB / 343.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.01692, allocations: 59.34 kB / 343.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.01729, allocations: 0.5336 MB / 344 MB, free: 11.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.01731, allocations: 37.7 kB / 344.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.0175, allocations: 495.2 kB / 344.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.353e-05/0.01757, allocations: 170.6 kB / 344.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.01767, allocations: 130.6 kB / 344.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.01777, allocations: 374.7 kB / 345.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.01795, allocations: 173.9 kB / 345.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.01825, allocations: 449.6 kB / 345.8 MB, free: 10 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.01874, allocations: 0.6547 MB / 346.5 MB, free: 9.219 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.01875, allocations: 4 kB / 346.5 MB, free: 9.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000727/0.01948, allocations: 0.752 MB / 347.2 MB, free: 8.453 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01949, allocations: 8 kB / 347.2 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.0195, allocations: 12 kB / 347.2 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.01969, allocations: 80.81 kB / 347.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.02027, allocations: 195.8 kB / 347.5 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.02143, allocations: 1.883 MB / 349.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.02166, allocations: 95.28 kB / 349.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.02169, allocations: 40.06 kB / 349.5 MB, free: 6.027 MB / 314.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 (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.0001605/0.02185, allocations: 209.5 kB / 349.7 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.0219, allocations: 63.62 kB / 349.8 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/0.02195, allocations: 61.5 kB / 349.9 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.02195, allocations: 7.984 kB / 349.9 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.02196, allocations: 4 kB / 349.9 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.02196, allocations: 0 / 349.9 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.02237, allocations: 0.5587 MB / 350.4 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.02238, allocations: 0 / 350.4 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.02258, allocations: 103.9 kB / 350.5 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.0227, allocations: 76.67 kB / 350.6 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.02272, allocations: 11.98 kB / 350.6 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.02375, allocations: 1.864 MB / 352.5 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.02375, allocations: 3.984 kB / 352.5 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.02433, allocations: 0.6497 MB / 353.1 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.02438, allocations: 67.59 kB / 353.2 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.02442, allocations: 8 kB / 353.2 MB, free: 2.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.0246, allocations: 43.97 kB / 353.3 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.02466, allocations: 35.88 kB / 353.3 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.02468, allocations: 12 kB / 353.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002397/0.02492, allocations: 346.9 kB / 353.6 MB, free: 1.727 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02492, allocations: 4 kB / 353.6 MB, free: 1.723 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004293/0.02535, allocations: 247.4 kB / 353.9 MB, free: 1.48 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 (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.001002/0.02635, allocations: 1.211 MB / 355.1 MB, free: 248 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005738/0.02692, allocations: 0.5538 MB / 355.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02693, allocations: 320 / 355.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.02719, allocations: 314.1 kB / 356 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.02756, allocations: 126.6 kB / 356.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.03185, allocations: 5.379 MB / 361.5 MB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.03229, allocations: 336 kB / 361.8 MB, free: 9.148 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.03245, allocations: 73.2 kB / 361.9 MB, free: 9.078 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.03264, allocations: 268.4 kB / 362.1 MB, free: 8.812 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03265, allocations: 0 / 362.1 MB, free: 8.812 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.05639, allocations: 14.23 MB / 376.4 MB, free: 10.83 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.355, allocations: 0 / 376.4 MB, free: 10.83 MB / 346.7 MB " [Timeout remaining time 653] (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 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.099206326529384]