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.001134/0.001134, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 64.05 kB / 307 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1182, allocations: 50.52 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004951/0.1232, allocations: 2.883 MB / 360.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.1252, allocations: 0.7518 MB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002893/0.1256, allocations: 4 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.1258, allocations: 43.58 kB / 361.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.1261, allocations: 103.2 kB / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.1265, allocations: 111.8 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005094/0.127, allocations: 394.5 kB / 361.7 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.1273, allocations: 127.2 kB / 361.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.1277, allocations: 151.4 kB / 362 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.1279, allocations: 175.2 kB / 362.2 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.1281, allocations: 40 kB / 362.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.1282, allocations: 40 kB / 362.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.54e-05/0.1283, allocations: 67.83 kB / 362.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.1285, allocations: 167.2 kB / 362.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005378/0.129, allocations: 418.9 kB / 362.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.129, allocations: 0 / 362.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1291, allocations: 0 / 362.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.54e-05/0.1291, allocations: 0 / 362.9 MB, free: 8.645 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.001625/0.1307, allocations: 0.6653 MB / 363.6 MB, free: 7.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1308, allocations: 8.031 kB / 363.6 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.1309, allocations: 36.55 kB / 363.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.1313, allocations: 292.6 kB / 363.9 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.1313, allocations: 20.94 kB / 363.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.1314, allocations: 20.38 kB / 363.9 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.1321, allocations: 316 kB / 364.3 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1321, allocations: 7.922 kB / 364.3 MB, free: 7.184 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.1322, allocations: 12 kB / 364.3 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1322, allocations: 8 kB / 364.3 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008319/0.133, allocations: 270.1 kB / 364.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.1351, allocations: 1.127 MB / 365.7 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/0.136, allocations: 250.5 kB / 365.9 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.1364, allocations: 100.7 kB / 366 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1364, allocations: 3.984 kB / 366 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000542/0.1369, allocations: 165 kB / 366.2 MB, free: 5.152 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/0.1369, allocations: 0 / 366.2 MB, free: 5.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001105/0.1381, allocations: 325.4 kB / 366.5 MB, free: 4.828 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.1381, allocations: 81.11 kB / 366.6 MB, free: 4.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.1386, allocations: 262.6 kB / 366.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.1386, allocations: 29.7 kB / 366.9 MB, free: 4.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1388, allocations: 195.5 kB / 367.1 MB, free: 4.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.1388, allocations: 35.55 kB / 367.1 MB, free: 4.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.139, allocations: 49.61 kB / 367.1 MB, free: 4.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1391, allocations: 334.8 kB / 367.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.1396, allocations: 108.2 kB / 367.6 MB, free: 3.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.14, allocations: 186.3 kB / 367.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007551/0.1408, allocations: 310.2 kB / 368.1 MB, free: 3.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.1408, allocations: 0 / 368.1 MB, free: 3.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009539/0.1417, allocations: 358.6 kB / 368.4 MB, free: 2.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/0.1418, allocations: 40.98 kB / 368.4 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.1418, allocations: 4 kB / 368.4 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.1419, allocations: 4.344 kB / 368.5 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.1422, allocations: 71.88 kB / 368.5 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.1422, allocations: 4 kB / 368.5 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.1425, allocations: 51.75 kB / 368.6 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.1426, allocations: 8 kB / 368.6 MB, free: 2.59 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.0001705/0.1427, allocations: 160.4 kB / 368.7 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.1429, allocations: 19.72 kB / 368.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.784e-05/0.143, allocations: 29.7 kB / 368.8 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.143, allocations: 3.938 kB / 368.8 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.143, allocations: 0 / 368.8 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.143, allocations: 3.938 kB / 368.8 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.1433, allocations: 305.5 kB / 369.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1434, allocations: 4 kB / 369.1 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.1436, allocations: 47.89 kB / 369.1 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1436, allocations: 0 / 369.1 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.1436, allocations: 8 kB / 369.2 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1436, allocations: 0 / 369.2 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1437, allocations: 0 / 369.2 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.1448, allocations: 372.6 kB / 369.5 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.659e-05/0.1449, allocations: 108.8 kB / 369.6 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.1449, allocations: 3.938 kB / 369.6 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.1452, allocations: 36.02 kB / 369.7 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.1453, allocations: 15.98 kB / 369.7 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1453, allocations: 11.88 kB / 369.7 MB, free: 1.387 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.1455, allocations: 190 kB / 369.9 MB, free: 1.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1455, allocations: 0 / 369.9 MB, free: 1.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.1458, allocations: 67.84 kB / 369.9 MB, free: 1.137 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.0001684/0.146, allocations: 103.2 kB / 370 MB, free: 1.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009696/0.147, allocations: 295.5 kB / 370.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.147, allocations: 0 / 370.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.1474, allocations: 103.9 kB / 370.4 MB, free: 0.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1477, allocations: 40.8 kB / 370.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.1491, allocations: 0.5294 MB / 371 MB, free: 28 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1759/0.325, allocations: 0.7435 MB / 371.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.3253, allocations: 29.36 kB / 371.8 MB, free: 19.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.3254, allocations: 22.28 kB / 371.8 MB, free: 19.68 MB / 302.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3254, allocations: 3.828 kB / 371.8 MB, free: 19.68 MB / 302.1 MB Notification: Performance of Templates: time 0.00804/0.3334, allocations: 3.002 MB / 374.8 MB, free: 19.61 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/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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches