Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 110.2 kB / 17.06 MB, free: 5.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 193.4 kB / 18.01 MB, free: 4.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.92 kB / 350.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2723, allocations: 49.43 MB / 400.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007381/0.2798, allocations: 5.765 MB / 406 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.2823, allocations: 1.157 MB / 407.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/0.2828, allocations: 23.94 kB / 407.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.2833, allocations: 174.3 kB / 407.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.2838, allocations: 277.5 kB / 407.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.2842, allocations: 219.6 kB / 407.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.2853, allocations: 1.06 MB / 408.9 MB, free: 80 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007151/0.286, allocations: 0.5142 MB / 409.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.2865, allocations: 414.6 kB / 409.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.287, allocations: 477.9 kB / 410.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.2872, allocations: 96 kB / 410.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.2873, allocations: 100 kB / 410.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.2875, allocations: 215.3 kB / 410.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004764/0.288, allocations: 0.5054 MB / 411.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.2892, allocations: 1.104 MB / 412.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2892, allocations: 4 kB / 412.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2892, allocations: 4 kB / 412.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.2892, allocations: 0 / 412.3 MB, free: 12.64 MB / 334.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.002052/0.2913, allocations: 1.258 MB / 413.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.2913, allocations: 15.89 kB / 413.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.2915, allocations: 152.1 kB / 413.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.2917, allocations: 112.3 kB / 413.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/0.2923, allocations: 463.4 kB / 414.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.2924, allocations: 66.38 kB / 414.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.2925, allocations: 96.33 kB / 414.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.2939, allocations: 0.8793 MB / 415.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.2939, allocations: 0 / 415.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-05/0.294, allocations: 40 kB / 415.4 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.2941, allocations: 27.94 kB / 415.4 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009909/0.2951, allocations: 0.5699 MB / 416 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/0.2994, allocations: 2.95 MB / 419 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.2999, allocations: 301.6 kB / 419.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003852/0.3003, allocations: 268.8 kB / 419.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.3003, allocations: 7.938 kB / 419.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.3003, allocations: 42.56 kB / 419.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.3003, allocations: 0 / 419.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001493/0.3018, allocations: 0.6552 MB / 420.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.3019, allocations: 59.34 kB / 420.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006078/0.3025, allocations: 0.5104 MB / 420.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.3026, allocations: 33.7 kB / 420.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003547/0.3029, allocations: 0.4953 MB / 421.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.3031, allocations: 158.7 kB / 421.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.3033, allocations: 134.6 kB / 421.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.3035, allocations: 370.7 kB / 422 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.3038, allocations: 173.9 kB / 422.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.3043, allocations: 449.6 kB / 422.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008616/0.3052, allocations: 0.644 MB / 423.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3052, allocations: 3.938 kB / 423.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001275/0.3065, allocations: 0.7652 MB / 424 MB, free: 404 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3065, allocations: 12 kB / 424 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.3066, allocations: 12.09 kB / 424 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.3069, allocations: 84.75 kB / 424.1 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/0.3076, allocations: 195.7 kB / 424.3 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.3098, allocations: 2.022 MB / 426.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.3103, allocations: 83.36 kB / 426.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.3104, allocations: 35.94 kB / 426.4 MB, free: 13.81 MB / 350.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.0002967/0.3107, allocations: 222.8 kB / 426.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.983e-05/0.3108, allocations: 59.73 kB / 426.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.3109, allocations: 65.5 kB / 426.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3109, allocations: 4 kB / 426.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3109, allocations: 0 / 426.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3109, allocations: 3.984 kB / 426.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008008/0.3117, allocations: 0.6415 MB / 427.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3117, allocations: 0 / 427.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004124/0.3122, allocations: 103.9 kB / 427.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002104/0.3124, allocations: 68.8 kB / 427.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.3124, allocations: 8 kB / 427.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.3145, allocations: 1.991 MB / 429.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3145, allocations: 3.938 kB / 429.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009766/0.3155, allocations: 0.6662 MB / 430.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.3156, allocations: 132.7 kB / 430.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.3157, allocations: 12 kB / 430.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.3161, allocations: 43.97 kB / 430.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.3162, allocations: 27.95 kB / 430.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.3162, allocations: 12 kB / 430.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003935/0.3166, allocations: 350.9 kB / 430.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3166, allocations: 4 kB / 430.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007333/0.3173, allocations: 247.4 kB / 431.1 MB, free: 8.938 MB / 350.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.001445/0.3188, allocations: 1.226 MB / 432.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.3199, allocations: 0.5897 MB / 432.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3199, allocations: 0 / 432.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.3205, allocations: 330 kB / 433.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.321, allocations: 119.2 kB / 433.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007349/0.3284, allocations: 5.493 MB / 438.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.3291, allocations: 0.9337 MB / 439.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002927/0.3294, allocations: 65.22 kB / 439.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.3297, allocations: 263.4 kB / 440.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3297, allocations: 0 / 440.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06055/0.3903, allocations: 12.82 MB / 452.9 MB, free: 2.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.05, allocations: 4.766 kB / 452.9 MB, free: 2.867 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches