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.001072/0.001072, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3031, allocations: 50.55 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004533/0.3076, allocations: 2.827 MB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.3092, allocations: 0.6505 MB / 412.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.3095, allocations: 4 kB / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.3097, allocations: 47.5 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.3101, allocations: 91.19 kB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.3104, allocations: 75.83 kB / 412.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.311, allocations: 346.9 kB / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.3113, allocations: 143.3 kB / 412.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.3115, allocations: 135.5 kB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.3118, allocations: 147.4 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.3119, allocations: 32 kB / 413.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.062e-05/0.312, allocations: 32 kB / 413.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.3121, allocations: 75.69 kB / 413.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.3123, allocations: 159.3 kB / 413.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.3127, allocations: 356.4 kB / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3127, allocations: 0 / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3127, allocations: 0 / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.3127, allocations: 0 / 413.9 MB, free: 12.39 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.001452/0.3142, allocations: 0.5964 MB / 414.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.812e-05/0.3143, allocations: 8.031 kB / 414.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.3144, allocations: 66.72 kB / 414.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.3146, allocations: 36.59 kB / 414.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006698/0.3152, allocations: 267.7 kB / 414.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.3153, allocations: 20.94 kB / 414.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/0.3154, allocations: 28.38 kB / 414.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/0.316, allocations: 252.9 kB / 415.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.316, allocations: 4 kB / 415.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.316, allocations: 8 kB / 415.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.3161, allocations: 8 kB / 415.1 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.3165, allocations: 190.2 kB / 415.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.3184, allocations: 0.9977 MB / 416.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.3189, allocations: 324.9 kB / 416.6 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.3192, allocations: 152.8 kB / 416.8 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3192, allocations: 3.984 kB / 416.8 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.3193, allocations: 38.56 kB / 416.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.3193, allocations: 0 / 416.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001796/0.3211, allocations: 0.7783 MB / 417.6 MB, free: 8.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3211, allocations: 55.41 kB / 417.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.3213, allocations: 195.1 kB / 417.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.3214, allocations: 29.7 kB / 417.9 MB, free: 8.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.3215, allocations: 168.3 kB / 418.1 MB, free: 7.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.057e-05/0.3216, allocations: 94.64 kB / 418.1 MB, free: 7.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.3217, allocations: 49.98 kB / 418.2 MB, free: 7.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3218, allocations: 334.8 kB / 418.5 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.3219, allocations: 76.47 kB / 418.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.3221, allocations: 99.64 kB / 418.7 MB, free: 7.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.3224, allocations: 181.7 kB / 418.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3224, allocations: 0 / 418.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005287/0.3229, allocations: 318 kB / 419.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.323, allocations: 4 kB / 419.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.323, allocations: 8 kB / 419.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/0.3233, allocations: 88.78 kB / 419.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.3235, allocations: 51.84 kB / 419.3 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.3261, allocations: 2.076 MB / 421.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.3262, allocations: 11.97 kB / 421.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.3263, allocations: 12.06 kB / 421.4 MB, free: 4.32 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.0001695/0.3264, allocations: 141.7 kB / 421.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.3265, allocations: 27.7 kB / 421.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.661e-05/0.3266, allocations: 25.88 kB / 421.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.3266, allocations: 4 kB / 421.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.3266, allocations: 0 / 421.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.3266, allocations: 7.922 kB / 421.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.3278, allocations: 0.7449 MB / 422.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3278, allocations: 4 kB / 422.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.328, allocations: 35.97 kB / 422.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002088/0.3282, allocations: 76.73 kB / 422.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.3282, allocations: 8 kB / 422.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.3302, allocations: 1.991 MB / 424.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3302, allocations: 0 / 424.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.3309, allocations: 464.2 kB / 424.9 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.331, allocations: 92.91 kB / 425 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.331, allocations: 8.062 kB / 425 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.3312, allocations: 15.94 kB / 425.1 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.3312, allocations: 15.97 kB / 425.1 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.3313, allocations: 12 kB / 425.1 MB, free: 424 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.3314, allocations: 144.4 kB / 425.2 MB, free: 280 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3314, allocations: 0 / 425.2 MB, free: 280 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004447/0.3318, allocations: 76 kB / 425.3 MB, free: 204 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.0009365/0.3328, allocations: 0.9978 MB / 426.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007246/0.3335, allocations: 366.7 kB / 426.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3335, allocations: 0 / 426.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.334, allocations: 274.5 kB / 426.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.3344, allocations: 38.53 kB / 427 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.3379, allocations: 2.825 MB / 429.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.3382, allocations: 0.7712 MB / 430.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.289e-05/0.3383, allocations: 18.3 kB / 430.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.3384, allocations: 83.41 kB / 430.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3384, allocations: 0 / 430.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.3667, allocations: 5.879 MB / 436.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.486/9.853, allocations: 26.27 kB / 436.6 MB, free: 4.918 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