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: 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.0.0_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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 104.1 kB / 16.62 MB, free: 6.809 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.001799/0.001799, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.345/1.345, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009726/0.0009726, allocations: 43.94 kB / 300.1 MB, free: 5.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.101, allocations: 49.45 MB / 349.6 MB, free: 4.523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004462/0.1055, allocations: 2.904 MB / 352.5 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1068, allocations: 0.709 MB / 353.2 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.107, allocations: 4 kB / 353.2 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.1072, allocations: 39.69 kB / 353.2 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1074, allocations: 79.45 kB / 353.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1077, allocations: 99.84 kB / 353.4 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.1081, allocations: 386.5 kB / 353.8 MB, free: 296 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.1084, allocations: 131.2 kB / 353.9 MB, free: 164 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.1086, allocations: 147.5 kB / 354.1 MB, free: 16 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.1088, allocations: 163.4 kB / 354.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.1089, allocations: 40 kB / 354.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.383e-05/0.1089, allocations: 40 kB / 354.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/0.109, allocations: 79.69 kB / 354.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.1091, allocations: 171.1 kB / 354.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.1095, allocations: 422.8 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1096, allocations: 0 / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1096, allocations: 0 / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1096, allocations: 0 / 355 MB, free: 15.12 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.001258/0.1108, allocations: 0.6575 MB / 355.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1109, allocations: 11.89 kB / 355.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.111, allocations: 32.56 kB / 355.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.1113, allocations: 292.6 kB / 356 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1114, allocations: 20.88 kB / 356 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.1114, allocations: 24.28 kB / 356 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.1122, allocations: 320 kB / 356.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1122, allocations: 0 / 356.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.1122, allocations: 12 kB / 356.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1122, allocations: 4 kB / 356.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/0.113, allocations: 286 kB / 356.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.1148, allocations: 1.107 MB / 357.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008486/0.1156, allocations: 254.5 kB / 358 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.116, allocations: 100.8 kB / 358.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.116, allocations: 4 kB / 358.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004768/0.1165, allocations: 176.9 kB / 358.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.1165, allocations: 0 / 358.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001046/0.1176, allocations: 317.1 kB / 358.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.1176, allocations: 85.05 kB / 358.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.1179, allocations: 258.6 kB / 358.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1179, allocations: 33.7 kB / 358.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.1181, allocations: 195.6 kB / 359.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.1181, allocations: 39.44 kB / 359.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.1182, allocations: 49.61 kB / 359.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1183, allocations: 338.8 kB / 359.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.1187, allocations: 104.2 kB / 359.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.1191, allocations: 191.5 kB / 359.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.1198, allocations: 299.8 kB / 360.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1198, allocations: 4 kB / 360.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008562/0.1206, allocations: 358.7 kB / 360.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.1207, allocations: 37.7 kB / 360.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1207, allocations: 0 / 360.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1207, allocations: 4 kB / 360.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.121, allocations: 68.17 kB / 360.6 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.121, allocations: 11.92 kB / 360.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.1214, allocations: 47.75 kB / 360.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.1214, allocations: 8 kB / 360.6 MB, free: 9.074 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.0001383/0.1215, allocations: 149.7 kB / 360.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.1216, allocations: 23.72 kB / 360.8 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.1216, allocations: 25.7 kB / 360.8 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1216, allocations: 4 kB / 360.8 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1217, allocations: 0 / 360.8 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1217, allocations: 3.938 kB / 360.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.122, allocations: 313.5 kB / 361.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.122, allocations: 3.938 kB / 361.1 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.1222, allocations: 43.95 kB / 361.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1222, allocations: 0 / 361.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.1223, allocations: 8 kB / 361.2 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1223, allocations: 0 / 361.2 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1223, allocations: 3.938 kB / 361.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.1233, allocations: 372.5 kB / 361.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.1234, allocations: 100.8 kB / 361.7 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.1235, allocations: 3.984 kB / 361.7 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.1237, allocations: 36.03 kB / 361.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.1238, allocations: 11.98 kB / 361.7 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1238, allocations: 11.92 kB / 361.7 MB, free: 7.883 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.124, allocations: 190 kB / 361.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.124, allocations: 0 / 361.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.1243, allocations: 63.84 kB / 362 MB, free: 7.633 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.0001261/0.1245, allocations: 99.25 kB / 362.1 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000789/0.1253, allocations: 306.5 kB / 362.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1253, allocations: 0.6875 kB / 362.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.1256, allocations: 103.9 kB / 362.5 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1259, allocations: 45.03 kB / 362.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1271, allocations: 0.6154 MB / 363.1 MB, free: 6.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1273, allocations: 0.7518 MB / 363.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.1275, allocations: 30.22 kB / 363.9 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.1275, allocations: 23.44 kB / 363.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1276, allocations: 7.938 kB / 363.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of Templates: time 0.006601/0.1342, allocations: 2.885 MB / 366.8 MB, free: 2.738 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches