Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.OpAmps.Differentiator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_3_2_3_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.001606/0.001607, allocations: 114.4 kB / 17.74 MB, free: 5.344 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.001043/0.001043, allocations: 183.1 kB / 18.66 MB, free: 4.422 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.39/1.39, 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.001392/0.001393, allocations: 55.91 kB / 328.1 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/0.09236, allocations: 46.62 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005602/0.09802, allocations: 2.602 MB / 377.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.09985, allocations: 0.7096 MB / 378 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.1002, allocations: 8 kB / 378 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1004, allocations: 35.58 kB / 378 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.1007, allocations: 87.33 kB / 378.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.1011, allocations: 91.81 kB / 378.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004972/0.1016, allocations: 330.5 kB / 378.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.1018, allocations: 88.69 kB / 378.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.1021, allocations: 123.5 kB / 378.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.1024, allocations: 147.4 kB / 378.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.996e-05/0.1024, allocations: 28 kB / 378.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.715e-05/0.1025, allocations: 28 kB / 378.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.113e-05/0.1026, allocations: 59.7 kB / 379 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.1028, allocations: 131.4 kB / 379.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.1033, allocations: 298.8 kB / 379.4 MB, free: 296 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1033, allocations: 3.938 kB / 379.4 MB, free: 292 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1033, allocations: 0 / 379.4 MB, free: 292 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.1033, allocations: 7.984 kB / 379.4 MB, free: 284 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.1845/0.2878, allocations: 0.6129 MB / 380 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2879, allocations: 10.81 kB / 380 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.2879, allocations: 55.66 kB / 380.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.288, allocations: 28.86 kB / 380.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.2883, allocations: 268.8 kB / 380.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.2884, allocations: 14.5 kB / 380.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.2884, allocations: 20.12 kB / 380.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.289, allocations: 235.8 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.289, allocations: 3.938 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.289, allocations: 11.48 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2891, allocations: 4.125 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007388/0.2898, allocations: 248.5 kB / 380.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.2913, allocations: 0.8086 MB / 381.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008431/0.2921, allocations: 236.1 kB / 382 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.2924, allocations: 93.31 kB / 382.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.2925, allocations: 2.75 kB / 382.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004794/0.2929, allocations: 160 kB / 382.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.293, allocations: 2.438 kB / 382.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.00105/0.294, allocations: 296.2 kB / 382.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.2941, allocations: 82.83 kB / 382.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.2943, allocations: 236.8 kB / 382.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.2944, allocations: 31.55 kB / 382.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.2945, allocations: 164.6 kB / 383 MB, free: 11.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.2945, allocations: 52.56 kB / 383.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.2946, allocations: 44.22 kB / 383.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.2947, allocations: 330.3 kB / 383.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.295, allocations: 99.59 kB / 383.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.2953, allocations: 143 kB / 383.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/0.2959, allocations: 244.5 kB / 383.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2959, allocations: 0.9688 kB / 383.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007487/0.2967, allocations: 321.1 kB / 384.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.2967, allocations: 33.67 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2967, allocations: 1.531 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.2967, allocations: 2.938 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.297, allocations: 55.83 kB / 384.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.297, allocations: 3.359 kB / 384.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.2973, allocations: 40.11 kB / 384.3 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.2974, allocations: 10.73 kB / 384.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003284/0.2977, allocations: 179 kB / 384.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002645/0.298, allocations: 137.2 kB / 384.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004599/0.2984, allocations: 227.7 kB / 384.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.2984, allocations: 0 / 384.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005996/0.2991, allocations: 287.1 kB / 385.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2991, allocations: 41.42 kB / 385.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2991, allocations: 2.219 kB / 385.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.2991, allocations: 3.625 kB / 385.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.2993, allocations: 56.03 kB / 385.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.2993, allocations: 2.812 kB / 385.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.2996, allocations: 37.48 kB / 385.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.2996, allocations: 7.391 kB / 385.3 MB, free: 10.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * Single equations (assignments): 21 * 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 9.026e-05/0.2997, allocations: 198.4 kB / 385.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.2997, allocations: 25.52 kB / 385.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.883e-05/0.2998, allocations: 21.95 kB / 385.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2998, allocations: 1.969 kB / 385.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/0.2998, allocations: 2.75 kB / 385.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.2998, allocations: 1.406 kB / 385.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.3001, allocations: 288.5 kB / 385.8 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3001, allocations: 1.719 kB / 385.8 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.3003, allocations: 48.45 kB / 385.9 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3003, allocations: 0 / 385.9 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.3003, allocations: 2.438 kB / 385.9 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3003, allocations: 0 / 385.9 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3003, allocations: 5.562 kB / 385.9 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008813/0.3012, allocations: 348.5 kB / 386.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.3013, allocations: 93.67 kB / 386.3 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.3013, allocations: 6.047 kB / 386.3 MB, free: 9.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.3016, allocations: 26.67 kB / 386.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.3017, allocations: 17.33 kB / 386.4 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3017, allocations: 4.078 kB / 386.4 MB, free: 9.574 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.3018, allocations: 176.7 kB / 386.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3018, allocations: 2.516 kB / 386.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.3022, allocations: 103.9 kB / 386.7 MB, free: 9.441 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (13): * Single equations (assignments): 11 * 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.001105/0.3033, allocations: 0.873 MB / 387.5 MB, free: 8.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009874/0.3043, allocations: 431.4 kB / 388 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3043, allocations: 0.75 kB / 388 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.3047, allocations: 102.3 kB / 388.1 MB, free: 8.527 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.305, allocations: 34.48 kB / 388.1 MB, free: 8.516 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.3088, allocations: 2.634 MB / 390.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.309, allocations: 0.7452 MB / 391.5 MB, free: 6.039 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.3092, allocations: 26.38 kB / 391.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.3093, allocations: 73.58 kB / 391.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3093, allocations: 0 / 391.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.3349, allocations: 5.244 MB / 396.8 MB, free: 4.879 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.152, allocations: 2.203 kB / 396.8 MB, free: 4.879 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches