Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_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.001821/0.001821, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.001921/0.001921, allocations: 191 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 55.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1186, allocations: 46.62 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005098/0.1237, allocations: 2.758 MB / 377.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1254, allocations: 0.6589 MB / 378.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003414/0.1257, allocations: 4 kB / 378.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.1261, allocations: 51.5 kB / 378.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.1265, allocations: 83.2 kB / 378.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.1268, allocations: 83.88 kB / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006001/0.1274, allocations: 354.7 kB / 378.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.1277, allocations: 139.3 kB / 378.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.128, allocations: 131.6 kB / 378.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.1282, allocations: 151.3 kB / 379 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.336e-05/0.1283, allocations: 32 kB / 379.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.12e-05/0.1284, allocations: 32 kB / 379.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.418e-05/0.1285, allocations: 67.77 kB / 379.2 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.1287, allocations: 163.2 kB / 379.3 MB, free: 376 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.1291, allocations: 367 kB / 379.7 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1292, allocations: 0 / 379.7 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1292, allocations: 4 kB / 379.7 MB, free: 4 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.1292, allocations: 0 / 379.7 MB, free: 4 kB / 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.2033/0.3325, allocations: 0.5835 MB / 380.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.3326, allocations: 9.625 kB / 380.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.978e-05/0.3327, allocations: 63.3 kB / 380.4 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.962e-05/0.3328, allocations: 35.53 kB / 380.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.3332, allocations: 253.6 kB / 380.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.3333, allocations: 22.09 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.3333, allocations: 31.22 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.3339, allocations: 249.9 kB / 380.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3339, allocations: 3.938 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.3339, allocations: 9.312 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.3339, allocations: 6.875 kB / 381 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.3343, allocations: 191.9 kB / 381.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.3359, allocations: 0.9996 MB / 382.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.3365, allocations: 339.2 kB / 382.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.3368, allocations: 141.8 kB / 382.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3368, allocations: 1.375 kB / 382.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3368, allocations: 37.31 kB / 382.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 3.186e-06/0.3368, allocations: 3.188 kB / 382.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001746/0.3386, allocations: 0.7785 MB / 383.4 MB, free: 11.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.3386, allocations: 54.81 kB / 383.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.3389, allocations: 192.9 kB / 383.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3389, allocations: 30.92 kB / 383.7 MB, free: 11.1 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.339, allocations: 176.1 kB / 383.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.3391, allocations: 94.48 kB / 384 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.739e-05/0.3392, allocations: 51.36 kB / 384 MB, free: 10.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.3393, allocations: 333 kB / 384.3 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.3394, allocations: 73.33 kB / 384.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.3396, allocations: 102.7 kB / 384.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.34, allocations: 183.3 kB / 384.7 MB, free: 10.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.34, allocations: 0 / 384.7 MB, free: 10.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005885/0.3406, allocations: 313.5 kB / 385 MB, free: 10.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.3406, allocations: 5.281 kB / 385 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3406, allocations: 0 / 385 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/0.341, allocations: 95.09 kB / 385.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.3412, allocations: 49.42 kB / 385.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.3435, allocations: 2.083 MB / 387.2 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3436, allocations: 9.859 kB / 387.2 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.3437, allocations: 15.14 kB / 387.3 MB, free: 8.348 MB / 318.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.00015/0.3438, allocations: 141.8 kB / 387.4 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.3439, allocations: 22.75 kB / 387.4 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.3439, allocations: 27.44 kB / 387.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.344, allocations: 4.109 kB / 387.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.344, allocations: 2.406 kB / 387.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.344, allocations: 0.9844 kB / 387.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.3451, allocations: 0.747 MB / 388.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3452, allocations: 1.25 kB / 388.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.3453, allocations: 40.45 kB / 388.2 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002351/0.3456, allocations: 75.91 kB / 388.3 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.3456, allocations: 7.219 kB / 388.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.3473, allocations: 1.975 MB / 390.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3473, allocations: 1.656 kB / 390.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006883/0.348, allocations: 470 kB / 390.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.348, allocations: 95.7 kB / 390.8 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.3481, allocations: 11.19 kB / 390.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3482, allocations: 13.22 kB / 390.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.3483, allocations: 23.95 kB / 390.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.3483, allocations: 10.34 kB / 390.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3485, allocations: 145.4 kB / 391 MB, free: 5.383 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3485, allocations: 0 / 391 MB, free: 5.383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004782/0.349, allocations: 79.34 kB / 391.1 MB, free: 5.371 MB / 318.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.0008852/0.3498, allocations: 0.9991 MB / 392.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007763/0.3506, allocations: 368.7 kB / 392.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3506, allocations: 5.312 kB / 392.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.3511, allocations: 262.9 kB / 392.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.3515, allocations: 36.8 kB / 392.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.3548, allocations: 2.82 MB / 395.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.3551, allocations: 0.7659 MB / 396.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.233e-05/0.3552, allocations: 21.7 kB / 396.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.3553, allocations: 81 kB / 396.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3553, allocations: 1.281 kB / 396.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.3836, allocations: 5.9 MB / 402.4 MB, free: 116 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.76, allocations: 13.11 kB / 402.4 MB, free: 104 kB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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