Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001022, allocations: 196 kB / 17.38 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 226.5 MB / 244.7 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008196/0.0008195, allocations: 102.3 kB / 296.7 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002225/0.0002227, allocations: 8 kB / 356.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1964, allocations: 51.3 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002088/0.1986, allocations: 2.634 MB / 410.8 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007961/0.1994, allocations: 0.7586 MB / 411.5 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1995, allocations: 4 kB / 411.5 MB, free: 24.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.1996, allocations: 39.69 kB / 411.6 MB, free: 24.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.1998, allocations: 91.86 kB / 411.7 MB, free: 24.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.2, allocations: 84.92 kB / 411.8 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.2002, allocations: 410.9 kB / 412.2 MB, free: 23.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.2004, allocations: 119.3 kB / 412.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.2006, allocations: 147.4 kB / 412.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.2007, allocations: 155.2 kB / 412.6 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.2008, allocations: 23.94 kB / 412.6 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.337e-05/0.2008, allocations: 23.94 kB / 412.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.2009, allocations: 59.75 kB / 412.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.201, allocations: 188.9 kB / 412.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.2012, allocations: 380.1 kB / 413.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2012, allocations: 0 / 413.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2012, allocations: 4 kB / 413.2 MB, free: 22.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2013, allocations: 0 / 413.2 MB, free: 22.58 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009636/0.2022, allocations: 0.6643 MB / 413.9 MB, free: 21.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2023, allocations: 8.031 kB / 413.9 MB, free: 21.86 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.2023, allocations: 70.72 kB / 414 MB, free: 21.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.2024, allocations: 36.56 kB / 414 MB, free: 21.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.2026, allocations: 310.7 kB / 414.3 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.2027, allocations: 20.94 kB / 414.3 MB, free: 21.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.2027, allocations: 32.12 kB / 414.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/0.2033, allocations: 359.6 kB / 414.7 MB, free: 20.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2034, allocations: 0 / 414.7 MB, free: 20.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.2034, allocations: 12 kB / 414.7 MB, free: 20.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2034, allocations: 4 kB / 414.7 MB, free: 20.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007317/0.2041, allocations: 334 kB / 415.1 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.2058, allocations: 1.325 MB / 416.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/0.2065, allocations: 258.4 kB / 416.6 MB, free: 18.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.2068, allocations: 136.8 kB / 416.8 MB, free: 18.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.2068, allocations: 256 / 416.8 MB, free: 18.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004175/0.2072, allocations: 210.6 kB / 417 MB, free: 18.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.2072, allocations: 0 / 417 MB, free: 18.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002112/0.2094, allocations: 0.7595 MB / 417.7 MB, free: 17.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.2094, allocations: 110.8 kB / 417.8 MB, free: 17.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.2096, allocations: 295 kB / 418.1 MB, free: 17.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.2096, allocations: 33.7 kB / 418.2 MB, free: 17.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.2097, allocations: 207.5 kB / 418.4 MB, free: 17.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.2098, allocations: 51.34 kB / 418.4 MB, free: 17.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.2098, allocations: 4 kB / 418.4 MB, free: 17.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.536e-05/0.2098, allocations: 342.8 kB / 418.8 MB, free: 16.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.2101, allocations: 127.9 kB / 418.9 MB, free: 16.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.2105, allocations: 223.9 kB / 419.1 MB, free: 16.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006256/0.2111, allocations: 358.1 kB / 419.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2111, allocations: 0 / 419.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001091/0.2122, allocations: 0.5144 MB / 420 MB, free: 15.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.2123, allocations: 33.69 kB / 420 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2123, allocations: 4 kB / 420 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003162/0.2126, allocations: 92.81 kB / 420.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.2128, allocations: 59.89 kB / 420.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.2147, allocations: 1.842 MB / 422 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.215, allocations: 67.66 kB / 422.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.2151, allocations: 19.98 kB / 422.1 MB, free: 13.17 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.2152, allocations: 153.8 kB / 422.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.2152, allocations: 23.72 kB / 422.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.2153, allocations: 29.86 kB / 422.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2153, allocations: 0 / 422.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.2153, allocations: 0 / 422.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2153, allocations: 7.938 kB / 422.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.2155, allocations: 349.3 kB / 422.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2155, allocations: 0 / 422.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.2157, allocations: 39.97 kB / 422.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.2159, allocations: 84.8 kB / 422.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.216, allocations: 4 kB / 422.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.2176, allocations: 1.71 MB / 424.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2176, allocations: 0 / 424.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.2189, allocations: 0.5403 MB / 425 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.2189, allocations: 112.6 kB / 425.1 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.219, allocations: 8 kB / 425.1 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.2192, allocations: 40.03 kB / 425.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.2193, allocations: 23.95 kB / 425.2 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.2193, allocations: 8 kB / 425.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001429/0.2195, allocations: 206 kB / 425.4 MB, free: 9.617 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2195, allocations: 4 kB / 425.4 MB, free: 9.613 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003185/0.2198, allocations: 83.84 kB / 425.5 MB, free: 9.531 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/0.2212, allocations: 1.092 MB / 426.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008252/0.2221, allocations: 469.9 kB / 427 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2221, allocations: 0.5625 kB / 427 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.2225, allocations: 258.5 kB / 427.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.2228, allocations: 56.75 kB / 427.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.2258, allocations: 2.021 MB / 429.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.2259, allocations: 0.7678 MB / 430.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.2261, allocations: 87.41 kB / 430.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2261, allocations: 0 / 430.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.934/3.16, allocations: 5.959 MB / 436.2 MB, free: 14.65 MB / 314.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,derivative.c.v,derivative.opAmp.out.v,derivative.opAmp.out.i Variables in the result:Vin,der(derivative.c.v),derivative.C,derivative.R1,derivative.R2,derivative.T,derivative.V0,derivative.Vns,derivative.Vps,derivative.c.C,derivative.c.i,derivative.c.n.i,derivative.c.n.v,derivative.c.p.i,derivative.c.p.v,derivative.c.v,derivative.i1,derivative.i2,derivative.k,derivative.n1.i,derivative.n1.v,derivative.n2.i,derivative.n2.v,derivative.opAmp.V0,derivative.opAmp.Vns,derivative.opAmp.Vps,derivative.opAmp.homotopyType,derivative.opAmp.i_s,derivative.opAmp.in_n.i,derivative.opAmp.in_n.v,derivative.opAmp.in_p.i,derivative.opAmp.in_p.v,derivative.opAmp.out.i,derivative.opAmp.out.v,derivative.opAmp.p_in,derivative.opAmp.p_out,derivative.opAmp.p_s,derivative.opAmp.simplifiedExpr,derivative.opAmp.strict,derivative.opAmp.useSupply,derivative.opAmp.v_in,derivative.opAmp.v_out,derivative.opAmp.vns,derivative.opAmp.vps,derivative.p1.i,derivative.p1.v,derivative.p2.i,derivative.p2.v,derivative.r1.LossPower,derivative.r1.R,derivative.r1.R_actual,derivative.r1.T,derivative.r1.T_heatPort,derivative.r1.T_ref,derivative.r1.alpha,derivative.r1.i,derivative.r1.n.i,derivative.r1.n.v,derivative.r1.p.i,derivative.r1.p.v,derivative.r1.useHeatPort,derivative.r1.v,derivative.r2.LossPower,derivative.r2.R,derivative.r2.R_actual,derivative.r2.T,derivative.r2.T_heatPort,derivative.r2.T_ref,derivative.r2.alpha,derivative.r2.i,derivative.r2.n.i,derivative.r2.n.v,derivative.r2.p.i,derivative.r2.p.v,derivative.r2.useHeatPort,derivative.r2.v,derivative.v,derivative.v1,derivative.v2,f,fG,ground.p.i,ground.p.v,time,vIn.V,vIn.falling,vIn.i,vIn.n.i,vIn.n.v,vIn.nperiod,vIn.offset,vIn.p.i,vIn.p.v,vIn.period,vIn.rising,vIn.signalSource.T_falling,vIn.signalSource.T_rising,vIn.signalSource.T_start,vIn.signalSource.T_width,vIn.signalSource.amplitude,vIn.signalSource.count,vIn.signalSource.falling,vIn.signalSource.nperiod,vIn.signalSource.offset,vIn.signalSource.period,vIn.signalSource.rising,vIn.signalSource.startTime,vIn.signalSource.width,vIn.signalSource.y,vIn.startTime,vIn.v,vIn.width,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v