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: 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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009182/0.0009182, allocations: 96.66 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009775/0.0009775, allocations: 204.1 kB / 18.93 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002532, allocations: 8.281 kB / 308.4 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1099, allocations: 51.53 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003555/0.1135, allocations: 2.552 MB / 362.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1151, allocations: 0.7364 MB / 363.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.1154, allocations: 7.938 kB / 363.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.1156, allocations: 31.75 kB / 363.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.1159, allocations: 83.39 kB / 363.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1162, allocations: 103.9 kB / 363.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.1167, allocations: 362.5 kB / 363.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.1169, allocations: 107.8 kB / 363.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.1172, allocations: 127.4 kB / 364 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1174, allocations: 151.2 kB / 364.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.1175, allocations: 20 kB / 364.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.028e-05/0.1175, allocations: 16 kB / 364.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.1176, allocations: 47.83 kB / 364.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.1177, allocations: 168.9 kB / 364.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.118, allocations: 331.3 kB / 364.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.118, allocations: 0 / 364.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.118, allocations: 0 / 364.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.1181, allocations: 0 / 364.7 MB, free: 8.434 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.001206/0.1193, allocations: 0.6303 MB / 365.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1193, allocations: 15.97 kB / 365.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.591e-05/0.1194, allocations: 32.56 kB / 365.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.1198, allocations: 284.7 kB / 365.7 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.1198, allocations: 24.88 kB / 365.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/0.1199, allocations: 24.38 kB / 365.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007505/0.1206, allocations: 335.9 kB / 366.1 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1206, allocations: 4 kB / 366.1 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.1207, allocations: 4 kB / 366.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1207, allocations: 12 kB / 366.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008449/0.1215, allocations: 302.1 kB / 366.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.1234, allocations: 1.139 MB / 367.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008927/0.1243, allocations: 278.5 kB / 367.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.1247, allocations: 120.8 kB / 367.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1247, allocations: 3.938 kB / 367.9 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/0.1252, allocations: 189 kB / 368.1 MB, free: 4.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.1252, allocations: 0 / 368.1 MB, free: 4.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001102/0.1263, allocations: 365.1 kB / 368.5 MB, free: 4.484 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.1264, allocations: 81.09 kB / 368.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.1267, allocations: 266.5 kB / 368.8 MB, free: 4.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1267, allocations: 25.7 kB / 368.8 MB, free: 4.086 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.1269, allocations: 195.5 kB / 369 MB, free: 3.891 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.1269, allocations: 39.45 kB / 369.1 MB, free: 3.852 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.127, allocations: 25.7 kB / 369.1 MB, free: 3.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1271, allocations: 338.8 kB / 369.4 MB, free: 3.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.1275, allocations: 120.1 kB / 369.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.1279, allocations: 200.6 kB / 369.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.1286, allocations: 334 kB / 370.1 MB, free: 2.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1286, allocations: 0 / 370.1 MB, free: 2.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009065/0.1295, allocations: 394.9 kB / 370.4 MB, free: 2.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.1296, allocations: 33.7 kB / 370.5 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1296, allocations: 0 / 370.5 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1296, allocations: 7.984 kB / 370.5 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.1299, allocations: 79.95 kB / 370.6 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.1299, allocations: 4 kB / 370.6 MB, free: 2.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.1303, allocations: 59.73 kB / 370.6 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.1303, allocations: 12 kB / 370.6 MB, free: 2.16 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.0001558/0.1304, allocations: 149.7 kB / 370.8 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.1305, allocations: 23.72 kB / 370.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.1306, allocations: 25.7 kB / 370.8 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1306, allocations: 3.984 kB / 370.8 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1306, allocations: 0 / 370.8 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1306, allocations: 7.938 kB / 370.8 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.1309, allocations: 305.5 kB / 371.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1309, allocations: 0 / 371.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.1311, allocations: 59.83 kB / 371.2 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1311, allocations: 0 / 371.2 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1312, allocations: 11.92 kB / 371.2 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1312, allocations: 4 kB / 371.2 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1312, allocations: 0 / 371.2 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.1323, allocations: 412.6 kB / 371.6 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.1324, allocations: 100.8 kB / 371.7 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.1324, allocations: 4 kB / 371.7 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.1327, allocations: 44.02 kB / 371.8 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.1327, allocations: 11.98 kB / 371.8 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.1327, allocations: 11.92 kB / 371.8 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.1329, allocations: 186 kB / 372 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1329, allocations: 3.938 kB / 372 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1332, allocations: 63.84 kB / 372 MB, free: 0.6641 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.0001273/0.1333, allocations: 107.2 kB / 372.1 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008118/0.1342, allocations: 321.8 kB / 372.4 MB, free: 232 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1342, allocations: 0 / 372.4 MB, free: 232 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.1346, allocations: 124.4 kB / 372.6 MB, free: 108 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.1349, allocations: 41.3 kB / 372.6 MB, free: 68 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1862/0.3211, allocations: 0.6778 MB / 373.3 MB, free: 19.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.3214, allocations: 0.7538 MB / 374 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3215, allocations: 24 kB / 374.1 MB, free: 18.49 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3215, allocations: 0 / 374.1 MB, free: 18.49 MB / 302.1 MB Notification: Performance of Templates: time 0.006371/0.3279, allocations: 3.297 MB / 377.4 MB, free: 18.29 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) Reference file matches