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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001903/0.001903, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002307/0.002307, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.639/1.639, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 63.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.128, allocations: 53.36 MB / 427.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004689/0.1327, allocations: 2.855 MB / 429.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1343, allocations: 0.6544 MB / 430.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/0.1347, allocations: 4 kB / 430.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.135, allocations: 51.5 kB / 430.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.1353, allocations: 87.19 kB / 430.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1356, allocations: 71.91 kB / 430.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005723/0.1362, allocations: 362.8 kB / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.1365, allocations: 107.4 kB / 431.2 MB, free: 416 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.1367, allocations: 131.5 kB / 431.4 MB, free: 284 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.137, allocations: 147.4 kB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.71e-05/0.1371, allocations: 32 kB / 431.6 MB, free: 104 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.612e-05/0.1372, allocations: 32 kB / 431.6 MB, free: 72 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.1372, allocations: 71.75 kB / 431.7 MB, free: 0 / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2877/0.4249, allocations: 153.5 kB / 431.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.4255, allocations: 361.5 kB / 432.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4255, allocations: 2.719 kB / 432.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4255, allocations: 0 / 432.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.4255, allocations: 0.8438 kB / 432.2 MB, free: 7.926 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.0009126/0.4264, allocations: 0.599 MB / 432.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.4265, allocations: 9.844 kB / 432.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.496e-05/0.4265, allocations: 10.84 kB / 432.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.4266, allocations: 63.11 kB / 432.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.4266, allocations: 33.66 kB / 432.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.427, allocations: 264 kB / 433.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.427, allocations: 19.22 kB / 433.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.4271, allocations: 29.91 kB / 433.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.4275, allocations: 249 kB / 433.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4275, allocations: 4.781 kB / 433.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.4276, allocations: 15.94 kB / 433.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.4276, allocations: 7.75 kB / 433.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.4279, allocations: 185.4 kB / 433.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.4294, allocations: 1.017 MB / 434.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.4299, allocations: 316.8 kB / 435 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.4301, allocations: 130.1 kB / 435.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.4301, allocations: 2.125 kB / 435.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.4302, allocations: 34.91 kB / 435.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.4302, allocations: 1.062 kB / 435.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001536/0.4317, allocations: 0.7706 MB / 435.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.4317, allocations: 59.08 kB / 436 MB, free: 6.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.4319, allocations: 189.4 kB / 436.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.432, allocations: 30.23 kB / 436.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.464e-05/0.432, allocations: 173.5 kB / 436.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.4321, allocations: 102.1 kB / 436.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.043e-05/0.4322, allocations: 48.44 kB / 436.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.4323, allocations: 341.7 kB / 436.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.4324, allocations: 72.34 kB / 436.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.4326, allocations: 97.91 kB / 437 MB, free: 5.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.4329, allocations: 180.7 kB / 437.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4329, allocations: 1.5 kB / 437.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005506/0.4334, allocations: 310.3 kB / 437.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.4335, allocations: 4.719 kB / 437.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.4335, allocations: 5.281 kB / 437.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.4338, allocations: 83.59 kB / 437.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.434, allocations: 51.95 kB / 437.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.4359, allocations: 2.09 MB / 439.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.436, allocations: 15.92 kB / 439.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.436, allocations: 6.219 kB / 439.7 MB, free: 3.68 MB / 350.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.0001425/0.4362, allocations: 137.3 kB / 439.9 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.4362, allocations: 23.55 kB / 439.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.4363, allocations: 27.77 kB / 439.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4363, allocations: 2.188 kB / 439.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.4363, allocations: 3.094 kB / 439.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4363, allocations: 9.156 kB / 439.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.4375, allocations: 0.7382 MB / 440.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4375, allocations: 1.969 kB / 440.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.4377, allocations: 38.98 kB / 440.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002303/0.4379, allocations: 75.42 kB / 440.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.4379, allocations: 6.969 kB / 440.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.4396, allocations: 1.99 MB / 442.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4396, allocations: 1.094 kB / 442.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006482/0.4402, allocations: 471.7 kB / 443.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.4402, allocations: 103.2 kB / 443.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.4403, allocations: 2.266 kB / 443.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.4404, allocations: 17.16 kB / 443.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.4405, allocations: 20.84 kB / 443.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4405, allocations: 5.594 kB / 443.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.4406, allocations: 142.2 kB / 443.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4406, allocations: 0 / 443.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004541/0.4411, allocations: 79.72 kB / 443.6 MB, free: 0.7305 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,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.0009394/0.442, allocations: 0.9972 MB / 444.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008309/0.4429, allocations: 361.6 kB / 444.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4429, allocations: 1.219 kB / 444.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.4433, allocations: 252.7 kB / 445.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.4437, allocations: 38 kB / 445.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.4477, allocations: 2.819 MB / 448 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.4481, allocations: 0.7703 MB / 448.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.4482, allocations: 18.39 kB / 448.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.4484, allocations: 85.11 kB / 448.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4484, allocations: 3.75 kB / 448.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.4793, allocations: 5.881 MB / 454.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.65, allocations: 8.047 kB / 454.8 MB, free: 12.15 MB / 366.1 MB " [Timeout remaining time 649] (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 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [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: 13.74437490402488]