Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 116.6 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 189 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.6 MB / 249.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] 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.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 47.92 kB / 366.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09161/0.09306, allocations: 52.13 MB / 418.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00394/0.097, allocations: 2.816 MB / 421.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009631/0.09797, allocations: 0.6232 MB / 421.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.09808, allocations: 8 kB / 421.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.09824, allocations: 47.5 kB / 422 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.09841, allocations: 91.19 kB / 422.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.0986, allocations: 79.88 kB / 422.2 MB, free: 9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.09895, allocations: 350.9 kB / 422.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.09917, allocations: 103.4 kB / 422.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.0993, allocations: 139.5 kB / 422.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.09952, allocations: 151.3 kB / 422.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.09957, allocations: 32 kB / 422.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.689e-05/0.09961, allocations: 32 kB / 422.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.09968, allocations: 67.83 kB / 423 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.09981, allocations: 163.1 kB / 423.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.1002, allocations: 362.5 kB / 423.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1002, allocations: 0 / 423.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1002, allocations: 0 / 423.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.1002, allocations: 0 / 423.5 MB, free: 7.621 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009066/0.1011, allocations: 0.6039 MB / 424.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1011, allocations: 12.03 kB / 424.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.903e-05/0.1012, allocations: 4.75 kB / 424.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.544e-05/0.1012, allocations: 66.72 kB / 424.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.1013, allocations: 32.75 kB / 424.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.1016, allocations: 267.9 kB / 424.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.1016, allocations: 24.88 kB / 424.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.1017, allocations: 28.38 kB / 424.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.1021, allocations: 248.8 kB / 424.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1021, allocations: 0 / 424.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.1022, allocations: 12 kB / 424.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.1022, allocations: 4 kB / 424.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.1025, allocations: 190.1 kB / 425 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.104, allocations: 1.022 MB / 426 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.1044, allocations: 315.6 kB / 426.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.1047, allocations: 136.8 kB / 426.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.1047, allocations: 4 kB / 426.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1047, allocations: 34.94 kB / 426.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.1047, allocations: 0 / 426.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001477/0.1062, allocations: 0.7787 MB / 427.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.1062, allocations: 55.34 kB / 427.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.1064, allocations: 190.3 kB / 427.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1064, allocations: 29.7 kB / 427.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1065, allocations: 172.5 kB / 427.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.555e-05/0.1066, allocations: 95.23 kB / 427.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.1067, allocations: 45.98 kB / 427.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1068, allocations: 338.8 kB / 428.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.107, allocations: 72.53 kB / 428.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1071, allocations: 102.7 kB / 428.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.1074, allocations: 178.2 kB / 428.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1074, allocations: 0 / 428.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005226/0.1079, allocations: 326 kB / 428.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.108, allocations: 6.344 kB / 428.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.108, allocations: 0 / 428.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/0.1082, allocations: 92.78 kB / 428.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.1084, allocations: 47.92 kB / 429 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.1106, allocations: 2.092 MB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1107, allocations: 8.141 kB / 431.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.1108, allocations: 15.88 kB / 431.1 MB, free: 15.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.1109, allocations: 141.8 kB / 431.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.111, allocations: 27.84 kB / 431.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.111, allocations: 25.88 kB / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.111, allocations: 0 / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.1111, allocations: 7.938 kB / 431.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1111, allocations: 3.984 kB / 431.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1121, allocations: 0.7332 MB / 432 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1121, allocations: 0 / 432 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.1123, allocations: 39.91 kB / 432.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001924/0.1125, allocations: 68.8 kB / 432.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.1125, allocations: 8 kB / 432.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.1144, allocations: 1.999 MB / 434.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1144, allocations: 0 / 434.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000662/0.1151, allocations: 464.3 kB / 434.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.1151, allocations: 93 kB / 434.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1152, allocations: 8.062 kB / 434.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.1153, allocations: 8 kB / 434.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.1154, allocations: 23.97 kB / 434.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1154, allocations: 4 kB / 434.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1155, allocations: 144.3 kB / 434.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1155, allocations: 8 kB / 434.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.1159, allocations: 76 kB / 435 MB, free: 11.43 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,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.001034/0.1169, allocations: 1.002 MB / 436 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006508/0.1176, allocations: 350.7 kB / 436.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1176, allocations: 0 / 436.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004254/0.118, allocations: 262.5 kB / 436.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1184, allocations: 36.23 kB / 436.6 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.122, allocations: 2.824 MB / 439.4 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.1224, allocations: 0.7675 MB / 440.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.438e-05/0.1225, allocations: 14.3 kB / 440.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.1226, allocations: 83.41 kB / 440.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1226, allocations: 0 / 440.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.15, allocations: 5.866 MB / 446.2 MB, free: 240 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.977/10.13, allocations: 17.59 kB / 446.2 MB, free: 228 kB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,C1.v,C3.v,C5.v,L1.i,L2.i Variables in the result:C1.C,C1.i,C1.n.i,C1.n.v,C1.p.i,C1.p.v,C1.v,C2.C,C2.i,C2.n.i,C2.n.v,C2.p.i,C2.p.v,C2.v,C3.C,C3.i,C3.n.i,C3.n.v,C3.p.i,C3.p.v,C3.v,C4.C,C4.i,C4.n.i,C4.n.v,C4.p.i,C4.p.v,C4.v,C5.C,C5.i,C5.n.i,C5.n.v,C5.p.i,C5.p.v,C5.v,G.p.i,G.p.v,L1.L,L1.i,L1.n.i,L1.n.v,L1.p.i,L1.p.v,L1.v,L2.L,L2.i,L2.n.i,L2.n.v,L2.p.i,L2.p.v,L2.v,R1.LossPower,R1.R,R1.R_actual,R1.T,R1.T_heatPort,R1.T_ref,R1.alpha,R1.i,R1.n.i,R1.n.v,R1.p.i,R1.p.v,R1.useHeatPort,R1.v,R2.LossPower,R2.R,R2.R_actual,R2.T,R2.T_heatPort,R2.T_ref,R2.alpha,R2.i,R2.n.i,R2.n.v,R2.p.i,R2.p.v,R2.useHeatPort,R2.v,V.V,V.i,V.n.i,V.n.v,V.offset,V.p.i,V.p.v,V.signalSource.height,V.signalSource.offset,V.signalSource.startTime,V.signalSource.y,V.startTime,V.v,c1,c2,c3,c4,c5,der(C1.v),der(C2.v),der(C3.v),der(C4.v),der(C5.v),der(L1.i),der(L1.v),der(L2.i),der(L2.v),l1,l2,time [Calling sys.exit(0), Time elapsed: 12.900395458971616]