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.00135/0.00135, allocations: 109.5 kB / 17.73 MB, free: 5.363 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.001203/0.001203, allocations: 192 kB / 18.66 MB, free: 4.438 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.587/1.587, 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.001485/0.001485, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.118, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005456/0.1235, allocations: 2.758 MB / 377.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1251, allocations: 0.6628 MB / 378.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003565/0.1254, allocations: 4 kB / 378.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.1258, allocations: 55.5 kB / 378.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.1262, allocations: 83.19 kB / 378.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.1265, allocations: 71.91 kB / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005448/0.127, allocations: 354.7 kB / 378.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.1274, allocations: 151.3 kB / 378.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.1277, allocations: 127.6 kB / 378.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.1281, allocations: 155.3 kB / 379.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-05/0.1282, allocations: 32 kB / 379.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.58e-05/0.1283, allocations: 28 kB / 379.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.845e-05/0.1284, allocations: 75.7 kB / 379.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.1285, allocations: 151.3 kB / 379.3 MB, free: 372 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.129, allocations: 363 kB / 379.7 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.129, allocations: 4 kB / 379.7 MB, free: 4 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.129, allocations: 4 kB / 379.7 MB, free: 0 / 318.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.129, allocations: 0 / 379.7 MB, free: 0 / 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.2531/0.3821, allocations: 0.5813 MB / 380.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.512e-05/0.3822, allocations: 10.59 kB / 380.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.649e-05/0.3823, allocations: 62.2 kB / 380.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.3824, allocations: 35.34 kB / 380.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.3828, allocations: 256 kB / 380.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.3828, allocations: 18.69 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.3829, allocations: 31.05 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.3834, allocations: 254.2 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3834, allocations: 3.938 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.3834, allocations: 12.41 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.3834, allocations: 6.531 kB / 381 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.3838, allocations: 183.6 kB / 381.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.3855, allocations: 1.004 MB / 382.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005642/0.3861, allocations: 336 kB / 382.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.3865, allocations: 146.4 kB / 382.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3865, allocations: 1.375 kB / 382.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.3865, allocations: 34.02 kB / 382.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.3865, allocations: 3.938 kB / 382.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001913/0.3885, allocations: 0.7762 MB / 383.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.3885, allocations: 57.59 kB / 383.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.3887, allocations: 195.1 kB / 383.7 MB, free: 11.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3887, allocations: 29.7 kB / 383.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.3889, allocations: 177.7 kB / 383.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.3889, allocations: 92.8 kB / 384 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/0.389, allocations: 46.84 kB / 384 MB, free: 10.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.3891, allocations: 333.8 kB / 384.3 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3893, allocations: 75.83 kB / 384.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.3894, allocations: 100.2 kB / 384.5 MB, free: 10.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.3897, allocations: 183.9 kB / 384.7 MB, free: 10.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3897, allocations: 0 / 384.7 MB, free: 10.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006015/0.3904, allocations: 316.5 kB / 385 MB, free: 10.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3904, allocations: 5.594 kB / 385 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3904, allocations: 1.125 kB / 385 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/0.3907, allocations: 90.2 kB / 385.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.3909, allocations: 48.83 kB / 385.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.3933, allocations: 2.089 MB / 387.2 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.3934, allocations: 7.656 kB / 387.2 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.3935, allocations: 13.81 kB / 387.2 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.0001664/0.3936, allocations: 138.5 kB / 387.4 MB, free: 8.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.3937, allocations: 23.62 kB / 387.4 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.3938, allocations: 26.8 kB / 387.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3938, allocations: 3 kB / 387.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.876e-05/0.3938, allocations: 6.531 kB / 387.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.3938, allocations: 2.531 kB / 387.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.3953, allocations: 0.7471 MB / 388.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3953, allocations: 0.7031 kB / 388.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.3955, allocations: 36.62 kB / 388.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/0.3957, allocations: 75.05 kB / 388.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.3957, allocations: 11.69 kB / 388.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.3975, allocations: 1.979 MB / 390.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3975, allocations: 0.5625 kB / 390.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.3982, allocations: 470.8 kB / 390.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.3983, allocations: 95.39 kB / 390.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.3984, allocations: 7.25 kB / 390.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.3985, allocations: 15.39 kB / 390.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.3986, allocations: 19.47 kB / 390.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.3986, allocations: 11.14 kB / 390.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.3988, allocations: 148.8 kB / 391 MB, free: 5.383 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3988, allocations: 0 / 391 MB, free: 5.383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004954/0.3993, allocations: 76.34 kB / 391.1 MB, free: 5.375 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.001049/0.4004, allocations: 0.9973 MB / 392.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008098/0.4012, allocations: 369.6 kB / 392.5 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4012, allocations: 1.281 kB / 392.5 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.4017, allocations: 273.6 kB / 392.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.4021, allocations: 40.11 kB / 392.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.4058, allocations: 2.818 MB / 395.6 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.4061, allocations: 0.7687 MB / 396.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.4062, allocations: 18.41 kB / 396.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.4064, allocations: 83.59 kB / 396.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4064, allocations: 1.312 kB / 396.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04331/0.4497, allocations: 5.892 MB / 402.4 MB, free: 96 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.18, allocations: 13.36 kB / 402.4 MB, free: 84 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