Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.OpAmps.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",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.001186/0.001187, allocations: 91.98 kB / 16.65 MB, free: 6.586 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.001324/0.001324, allocations: 183.7 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.3 MB / 241.6 MB, free: 14.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003206, allocations: 8 kB / 301.5 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1272, allocations: 50.42 MB / 352 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003645/0.1309, allocations: 2.526 MB / 354.5 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1326, allocations: 0.7091 MB / 355.2 MB, free: 88 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.1329, allocations: 11.88 kB / 355.2 MB, free: 76 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.1332, allocations: 31.77 kB / 355.2 MB, free: 44 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004509/0.1337, allocations: 87.38 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.1342, allocations: 95.92 kB / 355.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008142/0.135, allocations: 366.5 kB / 355.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003641/0.1354, allocations: 108.7 kB / 355.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004698/0.1359, allocations: 127.4 kB / 356 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.1363, allocations: 139.3 kB / 356.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.1364, allocations: 20 kB / 356.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.509e-05/0.1365, allocations: 16 kB / 356.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.873e-05/0.1366, allocations: 51.75 kB / 356.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.1368, allocations: 172.9 kB / 356.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007696/0.1376, allocations: 386.8 kB / 356.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.666e-05/0.1376, allocations: 4 kB / 356.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.921e-06/0.1377, allocations: 3.938 kB / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.285e-05/0.1377, allocations: 0 / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001996/0.1397, allocations: 0.6302 MB / 357.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.581e-05/0.1398, allocations: 12.03 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.14, allocations: 62.72 kB / 357.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.1402, allocations: 32.56 kB / 357.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.1407, allocations: 284.6 kB / 357.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.1408, allocations: 20.94 kB / 357.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-05/0.1409, allocations: 28.38 kB / 357.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009621/0.1418, allocations: 335.7 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.1419, allocations: 0 / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.1419, allocations: 8 kB / 358.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.1419, allocations: 8 kB / 358.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.1431, allocations: 298.1 kB / 358.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/0.1455, allocations: 1.135 MB / 359.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.1465, allocations: 282.5 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/0.1469, allocations: 124.8 kB / 360 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1469, allocations: 0 / 360 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005833/0.1475, allocations: 185 kB / 360.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.1475, allocations: 0 / 360.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001215/0.1487, allocations: 365.4 kB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.1489, allocations: 85.11 kB / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.1493, allocations: 266.4 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.1493, allocations: 33.69 kB / 360.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1495, allocations: 195.5 kB / 361.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.1495, allocations: 43.45 kB / 361.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.1496, allocations: 29.7 kB / 361.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1498, allocations: 330.8 kB / 361.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.1502, allocations: 120.1 kB / 361.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.1506, allocations: 207.5 kB / 361.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008095/0.1515, allocations: 331.7 kB / 362.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1515, allocations: 0 / 362.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009861/0.1525, allocations: 394 kB / 362.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.1525, allocations: 33.7 kB / 362.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1526, allocations: 4 kB / 362.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.1526, allocations: 4 kB / 362.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.1529, allocations: 79.94 kB / 362.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1529, allocations: 4 kB / 362.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.1533, allocations: 55.75 kB / 362.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.1533, allocations: 15.98 kB / 362.7 MB, free: 8.148 MB / 302.1 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.1535, allocations: 145.7 kB / 362.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.1535, allocations: 23.72 kB / 362.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.61e-05/0.1536, allocations: 25.7 kB / 362.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1536, allocations: 4 kB / 362.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.1536, allocations: 0 / 362.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.1537, allocations: 3.938 kB / 362.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.1541, allocations: 321.4 kB / 363.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1541, allocations: 0 / 363.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.1543, allocations: 47.95 kB / 363.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1543, allocations: 0 / 363.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1544, allocations: 4 kB / 363.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1544, allocations: 3.984 kB / 363.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1544, allocations: 4 kB / 363.3 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.1556, allocations: 412.5 kB / 363.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.1557, allocations: 104.8 kB / 363.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.1558, allocations: 4 kB / 363.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.156, allocations: 40.02 kB / 363.9 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.1561, allocations: 23.86 kB / 363.9 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1561, allocations: 4 kB / 363.9 MB, free: 6.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000226/0.1564, allocations: 194 kB / 364.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1564, allocations: 0 / 364.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.1567, allocations: 59.84 kB / 364.1 MB, free: 6.656 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00159/0.1583, allocations: 0.944 MB / 365.1 MB, free: 5.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008981/0.1592, allocations: 327.2 kB / 365.4 MB, free: 5.352 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1592, allocations: 3.938 kB / 365.4 MB, free: 5.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.1596, allocations: 120.4 kB / 365.5 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.16, allocations: 48.47 kB / 365.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.1652, allocations: 3.099 MB / 368.7 MB, free: 1.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.1657, allocations: 0.748 MB / 369.4 MB, free: 1.156 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.1658, allocations: 30.28 kB / 369.4 MB, free: 1.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.166, allocations: 79.41 kB / 369.5 MB, free: 1.051 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.166, allocations: 0 / 369.5 MB, free: 1.051 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2327/0.3987, allocations: 4.978 MB / 374.5 MB, free: 23.99 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.3988, allocations: 218 kB / 374.7 MB, free: 23.74 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/2.398, allocations: 0 / 374.7 MB, free: 23.74 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,der_.c.v,der_.opAmp.out.v,der_.opAmp.out.i Variables in the result:Vin,der(der_.c.v),der_.C,der_.R,der_.V0,der_.Vns,der_.Vps,der_.c.C,der_.c.i,der_.c.n.i,der_.c.n.v,der_.c.p.i,der_.c.p.v,der_.c.v,der_.f,der_.i1,der_.i2,der_.k,der_.n1.i,der_.n1.v,der_.n2.i,der_.n2.v,der_.opAmp.V0,der_.opAmp.Vns,der_.opAmp.Vps,der_.opAmp.homotopyType,der_.opAmp.i_s,der_.opAmp.in_n.i,der_.opAmp.in_n.v,der_.opAmp.in_p.i,der_.opAmp.in_p.v,der_.opAmp.out.i,der_.opAmp.out.v,der_.opAmp.p_in,der_.opAmp.p_out,der_.opAmp.p_s,der_.opAmp.strict,der_.opAmp.useSupply,der_.opAmp.v_in,der_.opAmp.v_out,der_.opAmp.vns,der_.opAmp.vps,der_.p1.i,der_.p1.v,der_.p2.i,der_.p2.v,der_.r.LossPower,der_.r.R,der_.r.R_actual,der_.r.T,der_.r.T_heatPort,der_.r.T_ref,der_.r.alpha,der_.r.i,der_.r.n.i,der_.r.n.v,der_.r.p.i,der_.r.p.v,der_.r.useHeatPort,der_.r.v,der_.v,der_.v1,der_.v2,f,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.amplitude,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