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.001277/0.001277, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001995/0.001995, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.398/1.398, allocations: 230.5 MB / 257.4 MB, free: 8.016 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="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 0.001852/0.001852, allocations: 59.91 kB / 377.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2498, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006776/0.2565, allocations: 5.812 MB / 437 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.2593, allocations: 1.219 MB / 438.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004698/0.2598, allocations: 23.94 kB / 438.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.2602, allocations: 166.4 kB / 438.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005661/0.2608, allocations: 277.5 kB / 438.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.2612, allocations: 223.6 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.2623, allocations: 1.064 MB / 440 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006312/0.2629, allocations: 410.8 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00045/0.2634, allocations: 418.7 kB / 440.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005942/0.264, allocations: 485.9 kB / 441.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.2641, allocations: 100 kB / 441.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.2642, allocations: 96 kB / 441.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.2644, allocations: 219.2 kB / 441.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.2649, allocations: 0.4938 MB / 442.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.266, allocations: 1.113 MB / 443.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.266, allocations: 0 / 443.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.266, allocations: 0 / 443.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.266, allocations: 0 / 443.3 MB, free: 10.54 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.001941/0.268, allocations: 1.187 MB / 444.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.268, allocations: 11.97 kB / 444.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.2682, allocations: 152.1 kB / 444.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.2683, allocations: 112.3 kB / 444.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006836/0.269, allocations: 397.6 kB / 445.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/0.2691, allocations: 70.38 kB / 445.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.2692, allocations: 96.31 kB / 445.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.2705, allocations: 0.8676 MB / 446.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.2705, allocations: 4 kB / 446.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.2706, allocations: 40 kB / 446.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.2706, allocations: 24 kB / 446.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000988/0.2716, allocations: 0.5699 MB / 446.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004417/0.2761, allocations: 2.872 MB / 449.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.2765, allocations: 266.2 kB / 449.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.2769, allocations: 233.4 kB / 450.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.2769, allocations: 4 kB / 450.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.2769, allocations: 46.55 kB / 450.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.773e-06/0.2769, allocations: 0 / 450.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001407/0.2783, allocations: 0.576 MB / 450.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.2784, allocations: 67.22 kB / 450.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/0.279, allocations: 0.5181 MB / 451.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.279, allocations: 33.7 kB / 451.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.2794, allocations: 499.2 kB / 451.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.2795, allocations: 166.6 kB / 452.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.2797, allocations: 142.6 kB / 452.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.2799, allocations: 366.8 kB / 452.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.2802, allocations: 165.9 kB / 452.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.2807, allocations: 453.5 kB / 453.2 MB, free: 264 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009497/0.2817, allocations: 0.6469 MB / 453.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.2817, allocations: 4 kB / 453.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001321/0.283, allocations: 0.7559 MB / 454.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.283, allocations: 8 kB / 454.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.2831, allocations: 15.94 kB / 454.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/0.2834, allocations: 81.06 kB / 454.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.2841, allocations: 199.7 kB / 454.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.2863, allocations: 1.891 MB / 456.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.2868, allocations: 91.36 kB / 456.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.2869, allocations: 39.94 kB / 456.9 MB, free: 12.27 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.0003355/0.2872, allocations: 205.6 kB / 457.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.2873, allocations: 67.61 kB / 457.2 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.2874, allocations: 65.52 kB / 457.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2875, allocations: 4 kB / 457.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.2875, allocations: 4 kB / 457.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.2875, allocations: 3.984 kB / 457.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008677/0.2883, allocations: 0.621 MB / 457.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2883, allocations: 3.984 kB / 457.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.2888, allocations: 95.88 kB / 457.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/0.289, allocations: 76.73 kB / 458 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.289, allocations: 8 kB / 458 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.2909, allocations: 1.879 MB / 459.9 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2909, allocations: 3.938 kB / 459.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009906/0.2919, allocations: 0.6625 MB / 460.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.292, allocations: 59.61 kB / 460.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.292, allocations: 8 kB / 460.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.2924, allocations: 47.97 kB / 460.7 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.2925, allocations: 27.94 kB / 460.7 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.2925, allocations: 15.92 kB / 460.7 MB, free: 8.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003833/0.2929, allocations: 346.9 kB / 461.1 MB, free: 7.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2929, allocations: 0 / 461.1 MB, free: 7.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007588/0.2937, allocations: 243.5 kB / 461.3 MB, free: 7.672 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.001292/0.295, allocations: 1.225 MB / 462.5 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009695/0.2959, allocations: 0.5535 MB / 463.1 MB, free: 5.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2959, allocations: 0 / 463.1 MB, free: 5.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004688/0.2964, allocations: 319.2 kB / 463.4 MB, free: 5.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.297, allocations: 123.5 kB / 463.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006986/0.304, allocations: 5.489 MB / 469 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.3045, allocations: 0.9298 MB / 469.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002532/0.3048, allocations: 65.22 kB / 470 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.3051, allocations: 263.3 kB / 470.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3051, allocations: 0 / 470.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05059/0.3557, allocations: 13.43 MB / 483.7 MB, free: 1.055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.4, allocations: 3.984 kB / 483.7 MB, free: 1.051 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: 14.924919430864975]