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) 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.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",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.001672/0.001672, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001944/0.001944, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.115/2.115, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 51.91 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.575/0.5773, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.01318/0.5906, allocations: 2.803 MB / 403.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006738/0.5974, allocations: 0.6154 MB / 403.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006056/0.598, allocations: 8 kB / 403.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.5985, allocations: 55.44 kB / 403.7 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008163/0.5994, allocations: 83.19 kB / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.6001, allocations: 79.83 kB / 403.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009014/0.601, allocations: 350.9 kB / 404.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005091/0.6015, allocations: 135.4 kB / 404.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.6019, allocations: 139.5 kB / 404.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.6024, allocations: 143.4 kB / 404.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.6025, allocations: 35.94 kB / 404.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.6026, allocations: 32 kB / 404.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.6028, allocations: 67.77 kB / 404.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.6031, allocations: 159.2 kB / 404.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007318/0.6039, allocations: 360.5 kB / 405.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.6039, allocations: 4 kB / 405.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.6039, allocations: 0 / 405.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.6039, allocations: 0 / 405.3 MB, free: 3.742 MB / 318.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.006159/0.6101, allocations: 0.5887 MB / 405.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.581e-05/0.6102, allocations: 12.03 kB / 405.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.6104, allocations: 66.66 kB / 405.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.6106, allocations: 36.5 kB / 406 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007034/0.6114, allocations: 267.7 kB / 406.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.6114, allocations: 16.94 kB / 406.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/0.6115, allocations: 28.38 kB / 406.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00393/0.6155, allocations: 256.9 kB / 406.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.6155, allocations: 4 kB / 406.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.6156, allocations: 12 kB / 406.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.6156, allocations: 8 kB / 406.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/0.6164, allocations: 182.2 kB / 406.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/0.6194, allocations: 1.002 MB / 407.7 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007516/0.6202, allocations: 332.9 kB / 408.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/0.6206, allocations: 144.8 kB / 408.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.6207, allocations: 7.984 kB / 408.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.6207, allocations: 30.56 kB / 408.2 MB, free: 0.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 3.626e-06/0.6208, allocations: 0 / 408.2 MB, free: 0.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.002811/0.6236, allocations: 0.7904 MB / 409 MB, free: 15.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.6237, allocations: 63.34 kB / 409.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.6241, allocations: 190.3 kB / 409.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.6241, allocations: 29.7 kB / 409.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.6243, allocations: 172.2 kB / 409.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004237/0.6286, allocations: 90.56 kB / 409.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.6288, allocations: 53.92 kB / 409.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.629, allocations: 338.8 kB / 410 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.6293, allocations: 68.53 kB / 410 MB, free: 14.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.6297, allocations: 103.6 kB / 410.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.6303, allocations: 178.2 kB / 410.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6303, allocations: 0 / 410.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001105/0.6314, allocations: 314.1 kB / 410.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.6315, allocations: 8.031 kB / 410.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.6315, allocations: 0 / 410.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004946/0.632, allocations: 84.81 kB / 410.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00444/0.6365, allocations: 55.84 kB / 410.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003887/0.6404, allocations: 2.088 MB / 412.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.6407, allocations: 11.97 kB / 412.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.6408, allocations: 4 kB / 412.9 MB, free: 11.67 MB / 334.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.0002587/0.641, allocations: 141.8 kB / 413 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.6412, allocations: 23.72 kB / 413 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.761e-05/0.6413, allocations: 29.88 kB / 413 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6413, allocations: 64 / 413 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.6413, allocations: 8 kB / 413.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.6413, allocations: 7.922 kB / 413.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.6434, allocations: 0.7292 MB / 413.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6434, allocations: 0 / 413.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.6439, allocations: 51.97 kB / 413.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/0.6443, allocations: 76.77 kB / 413.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/0.6444, allocations: 4 kB / 413.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003056/0.6475, allocations: 1.983 MB / 415.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.6475, allocations: 8.094 kB / 415.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.6487, allocations: 455.8 kB / 416.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.6488, allocations: 96.84 kB / 416.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.6489, allocations: 8.062 kB / 416.5 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.6492, allocations: 16 kB / 416.5 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.6494, allocations: 19.97 kB / 416.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.6494, allocations: 4 kB / 416.5 MB, free: 7.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.6496, allocations: 148.3 kB / 416.6 MB, free: 7.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6497, allocations: 0 / 416.6 MB, free: 7.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008411/0.6505, allocations: 80 kB / 416.7 MB, free: 7.551 MB / 334.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.001584/0.6521, allocations: 1.002 MB / 417.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.6534, allocations: 375 kB / 418.1 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.6534, allocations: 0 / 418.1 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007156/0.6541, allocations: 258.5 kB / 418.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.6548, allocations: 44.23 kB / 418.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005821/0.6607, allocations: 2.82 MB / 421.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.6613, allocations: 0.7713 MB / 422 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.6615, allocations: 22.3 kB / 422 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.6617, allocations: 79.41 kB / 422.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of SimCode: time 1.413e-06/0.6618, allocations: 3.938 kB / 422.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1906/0.8524, allocations: 5.885 MB / 428 MB, free: 12.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.65, allocations: 14.66 kB / 428 MB, free: 12.27 MB / 350.1 MB (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 --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) 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) "" 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