Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001613/0.001613, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001826/0.001826, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.455/1.455, allocations: 227.7 MB / 247.7 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.5 kB / 307.9 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.09812, allocations: 50.56 MB / 358.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004454/0.1026, allocations: 2.868 MB / 361.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1041, allocations: 0.7557 MB / 362.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.1043, allocations: 4 kB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.1045, allocations: 51.5 kB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1047, allocations: 91.25 kB / 362.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.105, allocations: 119.8 kB / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.1055, allocations: 386.5 kB / 362.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.1057, allocations: 127.2 kB / 362.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.106, allocations: 155.4 kB / 363 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.1062, allocations: 171.2 kB / 363.2 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.1063, allocations: 40 kB / 363.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.906e-05/0.1064, allocations: 39.94 kB / 363.2 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-05/0.1065, allocations: 75.75 kB / 363.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.1066, allocations: 159.3 kB / 363.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.1071, allocations: 426.8 kB / 363.9 MB, free: 8.469 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1071, allocations: 3.938 kB / 363.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1071, allocations: 4 kB / 363.9 MB, free: 8.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1071, allocations: 0 / 363.9 MB, free: 8.461 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.001358/0.1085, allocations: 0.6614 MB / 364.6 MB, free: 7.742 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1086, allocations: 12.03 kB / 364.6 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.969e-05/0.1086, allocations: 32.56 kB / 364.6 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.109, allocations: 284.7 kB / 364.9 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.109, allocations: 16.94 kB / 364.9 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.1091, allocations: 24.38 kB / 364.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007227/0.1098, allocations: 323.9 kB / 365.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1099, allocations: 0 / 365.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.1099, allocations: 12 kB / 365.2 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1099, allocations: 4 kB / 365.2 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008337/0.1107, allocations: 278.1 kB / 365.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.1128, allocations: 1.119 MB / 366.6 MB, free: 5.523 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009172/0.1137, allocations: 246.5 kB / 366.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.1141, allocations: 104.8 kB / 367 MB, free: 5.168 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1141, allocations: 4 kB / 367 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005349/0.1147, allocations: 165 kB / 367.1 MB, free: 4.984 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.1147, allocations: 0 / 367.1 MB, free: 4.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001112/0.1158, allocations: 321.1 kB / 367.5 MB, free: 4.664 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.1159, allocations: 81.09 kB / 367.5 MB, free: 4.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.1162, allocations: 258.6 kB / 367.8 MB, free: 4.309 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1162, allocations: 29.7 kB / 367.8 MB, free: 4.273 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1164, allocations: 195.5 kB / 368 MB, free: 4.074 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.1164, allocations: 39.55 kB / 368 MB, free: 4.035 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.1165, allocations: 53.61 kB / 368.1 MB, free: 3.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1167, allocations: 334.8 kB / 368.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.117, allocations: 100.2 kB / 368.5 MB, free: 3.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/0.1175, allocations: 193.1 kB / 368.7 MB, free: 3.312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007469/0.1182, allocations: 303 kB / 369 MB, free: 2.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1182, allocations: 0 / 369 MB, free: 2.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009332/0.1192, allocations: 366.9 kB / 369.4 MB, free: 2.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.1192, allocations: 33.69 kB / 369.4 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.1193, allocations: 4 kB / 369.4 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1193, allocations: 4 kB / 369.4 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.1196, allocations: 67.89 kB / 369.5 MB, free: 2.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1196, allocations: 7.938 kB / 369.5 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.1199, allocations: 55.8 kB / 369.5 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.1199, allocations: 11.94 kB / 369.5 MB, free: 2.418 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.0001594/0.1201, allocations: 145.8 kB / 369.7 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.1202, allocations: 27.7 kB / 369.7 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.1202, allocations: 25.64 kB / 369.7 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1202, allocations: 7.938 kB / 369.8 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1203, allocations: 0 / 369.8 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1203, allocations: 7.938 kB / 369.8 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.1206, allocations: 317.5 kB / 370.1 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1206, allocations: 0 / 370.1 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.1209, allocations: 39.95 kB / 370.1 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1209, allocations: 4 kB / 370.1 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1209, allocations: 4 kB / 370.1 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1209, allocations: 0 / 370.1 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1209, allocations: 0 / 370.1 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.122, allocations: 372.6 kB / 370.5 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.1221, allocations: 112.6 kB / 370.6 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.1222, allocations: 0 / 370.6 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.1224, allocations: 31.97 kB / 370.6 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.1225, allocations: 11.98 kB / 370.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.1225, allocations: 11.92 kB / 370.6 MB, free: 1.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002042/0.1227, allocations: 190 kB / 370.8 MB, free: 1.039 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1227, allocations: 0 / 370.8 MB, free: 1.039 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000317/0.1231, allocations: 63.84 kB / 370.9 MB, free: 0.9766 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.0001486/0.1232, allocations: 103.2 kB / 371 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008459/0.1241, allocations: 299 kB / 371.3 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1241, allocations: 0 / 371.3 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.1244, allocations: 101.2 kB / 371.4 MB, free: 476 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1248, allocations: 51.03 kB / 371.4 MB, free: 428 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1457/0.2705, allocations: 0.5521 MB / 372 MB, free: 20.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.2707, allocations: 0.748 MB / 372.7 MB, free: 19.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.2708, allocations: 25.53 kB / 372.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2708, allocations: 3.828 kB / 372.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of Templates: time 0.006987/0.2778, allocations: 3.328 MB / 376.1 MB, free: 19.35 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches