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.001867/0.001867, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 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.002581/0.002581, allocations: 211 kB / 24.53 MB, free: 4.07 MB / 14.72 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 1.518/1.518, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.89 kB / 378.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3774, allocations: 53.41 MB / 432 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00765/0.385, allocations: 5.801 MB / 437.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00295/0.388, allocations: 1.211 MB / 439 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006075/0.3886, allocations: 19.94 kB / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.3891, allocations: 174.3 kB / 439.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007184/0.3898, allocations: 277.4 kB / 439.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005681/0.3903, allocations: 227.6 kB / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.3916, allocations: 1.064 MB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007108/0.3923, allocations: 402.9 kB / 441.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.3929, allocations: 426.6 kB / 441.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006698/0.3935, allocations: 481.9 kB / 442.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.3937, allocations: 96 kB / 442.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.3938, allocations: 107.9 kB / 442.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.394, allocations: 207.3 kB / 442.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.3945, allocations: 0.5093 MB / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.3956, allocations: 1.102 MB / 444.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3956, allocations: 0 / 444.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3956, allocations: 0 / 444.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3956, allocations: 3.938 kB / 444.1 MB, free: 10.51 MB / 350.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.002164/0.3978, allocations: 1.183 MB / 445.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.3979, allocations: 12.03 kB / 445.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.61e-05/0.3979, allocations: 26.19 kB / 445.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.3981, allocations: 148.1 kB / 445.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.3983, allocations: 112.3 kB / 445.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.399, allocations: 401.5 kB / 446 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.764e-05/0.399, allocations: 70.38 kB / 446 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.3992, allocations: 88.38 kB / 446.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.4005, allocations: 0.8752 MB / 447 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.4005, allocations: 7.984 kB / 447 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.62e-05/0.4006, allocations: 36 kB / 447 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.4006, allocations: 24 kB / 447 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.4016, allocations: 0.5738 MB / 447.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004609/0.4062, allocations: 2.876 MB / 450.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.4067, allocations: 265 kB / 450.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/0.4071, allocations: 237.3 kB / 451 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.4071, allocations: 7.938 kB / 451 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.4072, allocations: 42.56 kB / 451 MB, free: 3.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 3.226e-06/0.4072, allocations: 0 / 451 MB, free: 3.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001592/0.4088, allocations: 0.576 MB / 451.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.4088, allocations: 59.34 kB / 451.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006229/0.4095, allocations: 0.5143 MB / 452.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.4095, allocations: 33.7 kB / 452.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.4099, allocations: 499.2 kB / 452.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.41, allocations: 166.6 kB / 452.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.4102, allocations: 138.6 kB / 453 MB, free: 1.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.4104, allocations: 370.7 kB / 453.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.4107, allocations: 173.9 kB / 453.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.4112, allocations: 445.6 kB / 454 MB, free: 216 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008646/0.4121, allocations: 0.6509 MB / 454.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.4121, allocations: 4 kB / 454.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001281/0.4134, allocations: 0.752 MB / 455.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.4134, allocations: 12 kB / 455.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.4134, allocations: 11.94 kB / 455.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.4137, allocations: 84.94 kB / 455.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.4144, allocations: 203.6 kB / 455.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.4165, allocations: 1.891 MB / 457.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/0.417, allocations: 95.3 kB / 457.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/0.417, allocations: 36 kB / 457.7 MB, free: 12.22 MB / 366.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.0003235/0.4174, allocations: 209.6 kB / 457.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4175, allocations: 59.62 kB / 458 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.4176, allocations: 69.5 kB / 458 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4176, allocations: 4 kB / 458 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4176, allocations: 0 / 458 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4176, allocations: 7.922 kB / 458 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007755/0.4184, allocations: 0.6174 MB / 458.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4184, allocations: 0 / 458.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.4188, allocations: 103.9 kB / 458.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.419, allocations: 68.75 kB / 458.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.419, allocations: 7.984 kB / 458.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.4211, allocations: 1.887 MB / 460.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4211, allocations: 3.938 kB / 460.7 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.4221, allocations: 0.6625 MB / 461.4 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.4222, allocations: 59.61 kB / 461.5 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.4223, allocations: 8 kB / 461.5 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.4227, allocations: 47.97 kB / 461.5 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.4228, allocations: 27.94 kB / 461.5 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.4228, allocations: 16 kB / 461.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004118/0.4232, allocations: 342.9 kB / 461.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4232, allocations: 0 / 461.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008677/0.4241, allocations: 247.7 kB / 462.1 MB, free: 7.613 MB / 366.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.001538/0.4256, allocations: 1.233 MB / 463.4 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.4268, allocations: 0.5575 MB / 463.9 MB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4268, allocations: 0 / 463.9 MB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005138/0.4274, allocations: 315.1 kB / 464.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000633/0.428, allocations: 114.5 kB / 464.3 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00819/0.4362, allocations: 5.486 MB / 469.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/0.4368, allocations: 0.9259 MB / 470.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.4371, allocations: 73.2 kB / 470.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.4375, allocations: 263.4 kB / 471.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4375, allocations: 0 / 471.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04255/0.48, allocations: 13.45 MB / 484.5 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.6, allocations: 15.66 kB / 484.5 MB, free: 0.9727 MB / 382.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.664591445995029]