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.001522/0.001522, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001628/0.001628, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.353/1.353, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 48.48 kB / 300.7 MB, free: 5.762 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09272/0.09377, allocations: 49.44 MB / 350.2 MB, free: 4.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004042/0.09787, allocations: 2.847 MB / 353 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.09917, allocations: 0.7245 MB / 353.8 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.09937, allocations: 4 kB / 353.8 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.09955, allocations: 43.58 kB / 353.8 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.0998, allocations: 103.2 kB / 353.9 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.1001, allocations: 111.8 kB / 354 MB, free: 456 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.1006, allocations: 386.5 kB / 354.4 MB, free: 68 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.1008, allocations: 131.3 kB / 354.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.1011, allocations: 155.3 kB / 354.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.1013, allocations: 159.4 kB / 354.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.1013, allocations: 36 kB / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.019e-05/0.1014, allocations: 40 kB / 354.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.1015, allocations: 75.69 kB / 355 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.1017, allocations: 171.2 kB / 355.1 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.1021, allocations: 414.9 kB / 355.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1021, allocations: 3.938 kB / 355.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1021, allocations: 4 kB / 355.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1021, allocations: 4 kB / 355.6 MB, free: 14.89 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.001283/0.1034, allocations: 0.6536 MB / 356.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1034, allocations: 16.03 kB / 356.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.346e-05/0.1035, allocations: 54.73 kB / 356.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.1036, allocations: 36.55 kB / 356.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.1039, allocations: 296.5 kB / 356.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.104, allocations: 20.94 kB / 356.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.104, allocations: 24.38 kB / 356.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/0.1047, allocations: 315.8 kB / 357 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1047, allocations: 0 / 357 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.1048, allocations: 12 kB / 357 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1048, allocations: 12 kB / 357 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.1056, allocations: 274 kB / 357.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.1074, allocations: 1.119 MB / 358.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008756/0.1083, allocations: 238.6 kB / 358.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.1086, allocations: 112.7 kB / 358.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1086, allocations: 4 kB / 358.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005126/0.1092, allocations: 176.9 kB / 358.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.844e-06/0.1092, allocations: 3.938 kB / 358.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001087/0.1103, allocations: 305.2 kB / 359.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/0.1104, allocations: 96.97 kB / 359.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.1107, allocations: 258.6 kB / 359.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.1107, allocations: 33.7 kB / 359.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1108, allocations: 199.4 kB / 359.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.1109, allocations: 35.55 kB / 359.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.111, allocations: 57.61 kB / 359.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1111, allocations: 330.8 kB / 360.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.1115, allocations: 100.2 kB / 360.3 MB, free: 9.891 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.1119, allocations: 188.7 kB / 360.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/0.1126, allocations: 307.1 kB / 360.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1126, allocations: 0 / 360.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009025/0.1135, allocations: 362.9 kB / 361.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.1136, allocations: 33.7 kB / 361.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1136, allocations: 7.984 kB / 361.2 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1136, allocations: 4 kB / 361.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.1139, allocations: 67.89 kB / 361.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.114, allocations: 4 kB / 361.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.1143, allocations: 55.8 kB / 361.3 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.1143, allocations: 8 kB / 361.3 MB, free: 8.777 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.0001355/0.1144, allocations: 141.7 kB / 361.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.1145, allocations: 27.72 kB / 361.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.1146, allocations: 21.7 kB / 361.5 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1146, allocations: 4 kB / 361.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1146, allocations: 0 / 361.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1146, allocations: 7.938 kB / 361.5 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.1149, allocations: 309.5 kB / 361.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1149, allocations: 0 / 361.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.1152, allocations: 47.89 kB / 361.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.1152, allocations: 0 / 361.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1152, allocations: 3.984 kB / 361.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.1152, allocations: 4 kB / 361.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1152, allocations: 3.938 kB / 361.8 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.1163, allocations: 369.7 kB / 362.2 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.83e-05/0.1164, allocations: 100.8 kB / 362.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.1164, allocations: 12 kB / 362.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.1167, allocations: 27.95 kB / 362.3 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.1167, allocations: 19.92 kB / 362.4 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1168, allocations: 8 kB / 362.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.117, allocations: 194 kB / 362.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.117, allocations: 0 / 362.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.1173, allocations: 63.78 kB / 362.6 MB, free: 7.34 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.001412/0.1187, allocations: 0.901 MB / 363.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008739/0.1196, allocations: 299.1 kB / 363.8 MB, free: 6.105 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.1196, allocations: 0.6875 kB / 363.8 MB, free: 6.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.12, allocations: 107.9 kB / 363.9 MB, free: 6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1203, allocations: 45.34 kB / 364 MB, free: 5.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.1251, allocations: 2.892 MB / 366.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.1254, allocations: 0.7518 MB / 367.6 MB, free: 2.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.1255, allocations: 30.28 kB / 367.6 MB, free: 2.105 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.1257, allocations: 83.34 kB / 367.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1257, allocations: 0 / 367.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.163/0.2887, allocations: 5.412 MB / 373.1 MB, free: 25.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.767, allocations: 5.891 kB / 373.1 MB, free: 25.12 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