Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001637/0.001637, allocations: 105.6 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001847/0.001847, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 69.03 kB / 306.6 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1037, allocations: 50.52 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005574/0.1093, allocations: 2.921 MB / 360 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.1117, allocations: 0.748 MB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005507/0.1123, allocations: 8 kB / 360.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003917/0.1128, allocations: 31.75 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005822/0.1134, allocations: 83.39 kB / 360.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.114, allocations: 99.86 kB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00072/0.1148, allocations: 390.5 kB / 361.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.1152, allocations: 127.2 kB / 361.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.1157, allocations: 159.4 kB / 361.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.116, allocations: 163.2 kB / 361.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-05/0.1161, allocations: 40 kB / 361.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.56e-05/0.1162, allocations: 36 kB / 361.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.769e-05/0.1163, allocations: 79.73 kB / 362 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.1165, allocations: 163.2 kB / 362.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005181/0.117, allocations: 418.9 kB / 362.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.117, allocations: 0 / 362.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.117, allocations: 0 / 362.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.1171, allocations: 0 / 362.5 MB, free: 8.848 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.001797/0.1189, allocations: 0.6653 MB / 363.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/0.1189, allocations: 12.03 kB / 363.2 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.119, allocations: 62.72 kB / 363.3 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1192, allocations: 36.56 kB / 363.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005099/0.1197, allocations: 288.6 kB / 363.6 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.1197, allocations: 16.94 kB / 363.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.1198, allocations: 20.38 kB / 363.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007548/0.1205, allocations: 323.7 kB / 363.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1206, allocations: 0 / 363.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.1206, allocations: 15.98 kB / 363.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1206, allocations: 4 kB / 364 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007999/0.1214, allocations: 282 kB / 364.2 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.1234, allocations: 1.115 MB / 365.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008692/0.1243, allocations: 250.5 kB / 365.6 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.1247, allocations: 104.8 kB / 365.7 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.1247, allocations: 3.938 kB / 365.7 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005437/0.1253, allocations: 165 kB / 365.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.804e-06/0.1253, allocations: 4 kB / 365.9 MB, free: 5.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001115/0.1264, allocations: 321.1 kB / 366.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.1265, allocations: 77.11 kB / 366.2 MB, free: 4.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.1268, allocations: 266.6 kB / 366.5 MB, free: 4.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1268, allocations: 29.7 kB / 366.5 MB, free: 4.566 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.127, allocations: 203.4 kB / 366.7 MB, free: 4.359 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.127, allocations: 35.55 kB / 366.8 MB, free: 4.324 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-05/0.1271, allocations: 49.61 kB / 366.8 MB, free: 4.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1273, allocations: 330.8 kB / 367.1 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.1276, allocations: 108.1 kB / 367.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.128, allocations: 188.6 kB / 367.4 MB, free: 3.605 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.1287, allocations: 310.3 kB / 367.7 MB, free: 3.262 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1287, allocations: 0 / 367.7 MB, free: 3.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008826/0.1296, allocations: 363 kB / 368.1 MB, free: 2.895 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.1296, allocations: 33.7 kB / 368.1 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.1297, allocations: 7.984 kB / 368.1 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1297, allocations: 4 kB / 368.1 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.13, allocations: 63.89 kB / 368.2 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.13, allocations: 4 kB / 368.2 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.1303, allocations: 55.77 kB / 368.3 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.1304, allocations: 11.94 kB / 368.3 MB, free: 2.711 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.0001527/0.1305, allocations: 149.7 kB / 368.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.1306, allocations: 23.72 kB / 368.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.1306, allocations: 25.7 kB / 368.5 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1307, allocations: 0 / 368.5 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1307, allocations: 11.94 kB / 368.5 MB, free: 2.492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1307, allocations: 3.938 kB / 368.5 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.131, allocations: 309.5 kB / 368.8 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.131, allocations: 3.984 kB / 368.8 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.1313, allocations: 35.97 kB / 368.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.1313, allocations: 4 kB / 368.8 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.1313, allocations: 7.984 kB / 368.8 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1313, allocations: 0 / 368.8 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.1313, allocations: 0 / 368.8 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.1324, allocations: 372.5 kB / 369.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.1325, allocations: 104.8 kB / 369.3 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.1325, allocations: 7.922 kB / 369.3 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.1327, allocations: 31.97 kB / 369.3 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.1328, allocations: 15.92 kB / 369.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1329, allocations: 4 kB / 369.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.133, allocations: 193.9 kB / 369.5 MB, free: 1.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1331, allocations: 4.062 kB / 369.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.1334, allocations: 67.84 kB / 369.6 MB, free: 1.266 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.001351/0.1348, allocations: 0.8971 MB / 370.5 MB, free: 348 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007959/0.1356, allocations: 295.1 kB / 370.8 MB, free: 40 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1356, allocations: 0 / 370.8 MB, free: 40 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1909/0.3264, allocations: 108.8 kB / 370.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.3271, allocations: 41.19 kB / 370.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006491/0.3336, allocations: 2.995 MB / 373.9 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.334, allocations: 0.7511 MB / 374.7 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.3343, allocations: 30 kB / 374.7 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.3344, allocations: 78.48 kB / 374.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of SimCode: time 1.583e-06/0.3345, allocations: 0 / 374.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.3594, allocations: 5.241 MB / 380 MB, free: 17.41 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.3596, allocations: 209.9 kB / 380.2 MB, free: 17.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.366, allocations: 0 / 380.2 MB, free: 17.16 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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