Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2945, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004095/0.2986, allocations: 2.831 MB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2999, allocations: 0.6583 MB / 412.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.3002, allocations: 4 kB / 412.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.3005, allocations: 47.5 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.3008, allocations: 91.2 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.3011, allocations: 75.88 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.3016, allocations: 346.9 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.3019, allocations: 139.4 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.3021, allocations: 131.6 kB / 413.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.3024, allocations: 155.3 kB / 413.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.3025, allocations: 36 kB / 413.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.3026, allocations: 32 kB / 413.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.3026, allocations: 63.77 kB / 413.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.3028, allocations: 163.2 kB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003999/0.3032, allocations: 364.4 kB / 413.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3032, allocations: 0 / 413.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3033, allocations: 0 / 413.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.3033, allocations: 0 / 413.9 MB, free: 12.41 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001049/0.3043, allocations: 0.6003 MB / 414.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.3044, allocations: 8.031 kB / 414.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.862e-05/0.3045, allocations: 62.72 kB / 414.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.455e-05/0.3046, allocations: 32.59 kB / 414.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.3051, allocations: 267.7 kB / 414.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.3051, allocations: 20.94 kB / 414.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/0.3052, allocations: 28.38 kB / 414.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.3057, allocations: 253 kB / 415.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3057, allocations: 0 / 415.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.3057, allocations: 8 kB / 415.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.3058, allocations: 8 kB / 415.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000376/0.3061, allocations: 186.2 kB / 415.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.3078, allocations: 1.006 MB / 416.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.3083, allocations: 324 kB / 416.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.3085, allocations: 159 kB / 416.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.3085, allocations: 0 / 416.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.3086, allocations: 38.5 kB / 416.8 MB, free: 9.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.3086, allocations: 0 / 416.8 MB, free: 9.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001475/0.3101, allocations: 0.782 MB / 417.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3101, allocations: 55.41 kB / 417.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.3103, allocations: 195.1 kB / 417.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3103, allocations: 29.7 kB / 417.9 MB, free: 8.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3104, allocations: 168.3 kB / 418.1 MB, free: 7.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.506e-05/0.3105, allocations: 86.66 kB / 418.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-05/0.3106, allocations: 53.98 kB / 418.2 MB, free: 7.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3107, allocations: 338.8 kB / 418.5 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3109, allocations: 68.53 kB / 418.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.311, allocations: 99.64 kB / 418.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.3113, allocations: 177.7 kB / 418.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3113, allocations: 7.938 kB / 418.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005391/0.3119, allocations: 318 kB / 419.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.3119, allocations: 4 kB / 419.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3119, allocations: 4 kB / 419.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.3122, allocations: 88.78 kB / 419.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.3124, allocations: 51.84 kB / 419.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.3145, allocations: 2.084 MB / 421.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.3146, allocations: 11.97 kB / 421.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.3146, allocations: 12 kB / 421.4 MB, free: 4.344 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.0001432/0.3148, allocations: 145.8 kB / 421.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.3148, allocations: 23.72 kB / 421.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.3149, allocations: 25.88 kB / 421.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3149, allocations: 4 kB / 421.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3149, allocations: 0 / 421.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3149, allocations: 7.922 kB / 421.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.316, allocations: 0.7449 MB / 422.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.316, allocations: 0 / 422.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.3162, allocations: 39.91 kB / 422.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001981/0.3164, allocations: 68.8 kB / 422.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.3164, allocations: 12 kB / 422.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.3181, allocations: 1.987 MB / 424.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3181, allocations: 0 / 424.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.3188, allocations: 468.1 kB / 424.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.3189, allocations: 96.91 kB / 425 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.3189, allocations: 4.062 kB / 425 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3191, allocations: 12 kB / 425.1 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.3191, allocations: 19.97 kB / 425.1 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.3191, allocations: 4 kB / 425.1 MB, free: 460 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.3192, allocations: 148.4 kB / 425.2 MB, free: 312 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3193, allocations: 0 / 425.2 MB, free: 312 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004395/0.3197, allocations: 76 kB / 425.3 MB, free: 236 kB / 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.0009591/0.3207, allocations: 0.9975 MB / 426.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000687/0.3214, allocations: 366.7 kB / 426.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3214, allocations: 0 / 426.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004264/0.3218, allocations: 274.5 kB / 426.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3222, allocations: 40.17 kB / 427 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.3254, allocations: 2.829 MB / 429.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.3258, allocations: 0.7712 MB / 430.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.706e-05/0.3259, allocations: 18.3 kB / 430.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.326, allocations: 83.41 kB / 430.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.326, allocations: 0 / 430.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.3539, allocations: 5.881 MB / 436.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.613/9.967, allocations: 12.05 kB / 436.6 MB, free: 4.949 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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