Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 254.8 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 47.92 kB / 373.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1096, allocations: 53.33 MB / 427 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004541/0.1141, allocations: 2.851 MB / 429.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1155, allocations: 0.6427 MB / 430.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.1157, allocations: 4 kB / 430.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.1159, allocations: 55.5 kB / 430.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.1162, allocations: 91.19 kB / 430.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.1164, allocations: 75.84 kB / 430.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004592/0.1169, allocations: 350.9 kB / 431.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.1172, allocations: 107.4 kB / 431.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.1174, allocations: 135.5 kB / 431.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.1176, allocations: 151.4 kB / 431.5 MB, free: 408 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.436e-05/0.1177, allocations: 32 kB / 431.5 MB, free: 376 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.827e-05/0.1178, allocations: 35.94 kB / 431.5 MB, free: 340 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/0.1178, allocations: 67.75 kB / 431.6 MB, free: 272 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.118, allocations: 159.3 kB / 431.8 MB, free: 112 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2125/0.3305, allocations: 355.3 kB / 432.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3305, allocations: 0 / 432.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3305, allocations: 1.188 kB / 432.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3305, allocations: 0 / 432.1 MB, free: 8.301 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.0008587/0.3314, allocations: 0.6026 MB / 432.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3314, allocations: 9.938 kB / 432.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.033e-05/0.3314, allocations: 7.906 kB / 432.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.3315, allocations: 70.19 kB / 432.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.3315, allocations: 33.66 kB / 432.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.3318, allocations: 257.1 kB / 433.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.3319, allocations: 19.59 kB / 433.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.3319, allocations: 30.28 kB / 433.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.3323, allocations: 255.2 kB / 433.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3323, allocations: 0.5938 kB / 433.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.3324, allocations: 10.25 kB / 433.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3324, allocations: 6.375 kB / 433.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.3327, allocations: 188.4 kB / 433.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.3339, allocations: 1.017 MB / 434.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.3342, allocations: 316.3 kB / 434.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.3344, allocations: 132 kB / 435 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3344, allocations: 2.312 kB / 435 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3345, allocations: 36.03 kB / 435.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.3345, allocations: 0 / 435.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001415/0.3359, allocations: 0.7793 MB / 435.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.3359, allocations: 53.94 kB / 435.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3361, allocations: 191.2 kB / 436.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3361, allocations: 32.02 kB / 436.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.3361, allocations: 174.9 kB / 436.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.3362, allocations: 94.59 kB / 436.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.3363, allocations: 48.83 kB / 436.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.3363, allocations: 339.9 kB / 436.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.3364, allocations: 70.88 kB / 436.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.3366, allocations: 99.47 kB / 436.9 MB, free: 5.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.3369, allocations: 174.4 kB / 437.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3369, allocations: 3.188 kB / 437.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00048/0.3373, allocations: 317.8 kB / 437.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3374, allocations: 8.562 kB / 437.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3374, allocations: 1.125 kB / 437.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/0.3376, allocations: 87.28 kB / 437.5 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.3378, allocations: 51.36 kB / 437.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.3395, allocations: 2.09 MB / 439.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3396, allocations: 11.8 kB / 439.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.3396, allocations: 6.594 kB / 439.7 MB, free: 4.137 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 9.78e-05/0.3397, allocations: 138.3 kB / 439.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.3398, allocations: 26.36 kB / 439.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.3398, allocations: 27.8 kB / 439.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3398, allocations: 2.406 kB / 439.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3398, allocations: 7.062 kB / 439.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3398, allocations: 5.25 kB / 439.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009152/0.3407, allocations: 0.7375 MB / 440.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3407, allocations: 96 / 440.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.3409, allocations: 43.17 kB / 440.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001839/0.3411, allocations: 70.05 kB / 440.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3411, allocations: 9.188 kB / 440.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.3425, allocations: 1.991 MB / 442.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3425, allocations: 5.281 kB / 442.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.3431, allocations: 457.7 kB / 443.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.3432, allocations: 99.3 kB / 443.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.3432, allocations: 9.641 kB / 443.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.3434, allocations: 14.69 kB / 443.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.3434, allocations: 20.5 kB / 443.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.3434, allocations: 9.266 kB / 443.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3436, allocations: 138.8 kB / 443.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3436, allocations: 288 / 443.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004287/0.344, allocations: 79.44 kB / 443.5 MB, free: 1.199 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.0008054/0.3448, allocations: 0.9937 MB / 444.5 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006779/0.3455, allocations: 368.2 kB / 444.9 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3455, allocations: 1.125 kB / 444.9 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.3459, allocations: 255.2 kB / 445.1 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3462, allocations: 45.11 kB / 445.2 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.3503, allocations: 2.822 MB / 448 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.3507, allocations: 0.7731 MB / 448.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.284e-05/0.3508, allocations: 22 kB / 448.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.3509, allocations: 81.39 kB / 448.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3509, allocations: 0 / 448.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.3809, allocations: 5.874 MB / 454.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.4, allocations: 9.719 kB / 454.8 MB, free: 12.64 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 13.087913910043426]