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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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.0009458/0.0009466, allocations: 92.33 kB / 17.3 MB, free: 6.07 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.0009688/0.000969, allocations: 180.2 kB / 18.21 MB, free: 5.395 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.911/1.911, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004896/0.0004899, allocations: 16 kB / 281.4 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 47.57 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004163/0.11, allocations: 2.289 MB / 331.3 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.1121, allocations: 0.7022 MB / 332 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.1123, allocations: 4 kB / 332 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.1125, allocations: 31.77 kB / 332 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.1128, allocations: 71.45 kB / 332.1 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1131, allocations: 71.94 kB / 332.1 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.1136, allocations: 310.7 kB / 332.4 MB, free: 260 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.1139, allocations: 65.16 kB / 332.5 MB, free: 200 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.1141, allocations: 103.5 kB / 332.6 MB, free: 96 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.1144, allocations: 135.4 kB / 332.7 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.218e-05/0.1144, allocations: 12 kB / 332.7 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-05/0.1145, allocations: 16 kB / 332.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.645e-05/0.1146, allocations: 47.75 kB / 332.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.1148, allocations: 145 kB / 333 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.1152, allocations: 287.1 kB / 333.2 MB, free: 15.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1152, allocations: 0 / 333.2 MB, free: 15.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1153, allocations: 0 / 333.2 MB, free: 15.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1153, allocations: 0 / 333.2 MB, free: 15.46 MB / 286.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.00167/0.1169, allocations: 0.5833 MB / 333.8 MB, free: 14.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.117, allocations: 11.97 kB / 333.8 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.1171, allocations: 32.56 kB / 333.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.1176, allocations: 267.7 kB / 334.1 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.1176, allocations: 16.75 kB / 334.1 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.1177, allocations: 20.31 kB / 334.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008811/0.1186, allocations: 252.6 kB / 334.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1186, allocations: 0 / 334.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.1187, allocations: 12 kB / 334.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.1187, allocations: 7.984 kB / 334.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.1199, allocations: 283.5 kB / 334.7 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.122, allocations: 0.8442 MB / 335.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.1232, allocations: 278.5 kB / 335.8 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.1237, allocations: 108.8 kB / 335.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.1238, allocations: 0 / 335.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006238/0.1244, allocations: 177 kB / 336.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 4.058e-06/0.1244, allocations: 0 / 336.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001448/0.1259, allocations: 345.1 kB / 336.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.126, allocations: 81.11 kB / 336.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.1263, allocations: 237 kB / 336.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.1264, allocations: 29.7 kB / 336.8 MB, free: 11.67 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.1265, allocations: 163.9 kB / 336.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.1266, allocations: 39.45 kB / 337 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.1267, allocations: 25.7 kB / 337 MB, free: 11.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1269, allocations: 334.8 kB / 337.3 MB, free: 11.1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.1273, allocations: 107.9 kB / 337.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/0.1279, allocations: 158.7 kB / 337.6 MB, free: 10.81 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009603/0.1289, allocations: 278.6 kB / 337.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.1289, allocations: 0 / 337.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001203/0.1301, allocations: 350.9 kB / 338.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000177/0.1303, allocations: 163.8 kB / 338.4 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.1303, allocations: 4 kB / 338.4 MB, free: 9.965 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.1303, allocations: 0 / 338.4 MB, free: 9.965 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.1307, allocations: 63.95 kB / 338.4 MB, free: 9.902 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.1308, allocations: 11.94 kB / 338.4 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.1312, allocations: 43.8 kB / 338.5 MB, free: 9.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.1312, allocations: 12 kB / 338.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.1313, allocations: 4 kB / 338.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009585/0.1322, allocations: 273.5 kB / 338.8 MB, free: 9.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1323, allocations: 4 kB / 338.8 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.1323, allocations: 3.938 kB / 338.8 MB, free: 9.551 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.1326, allocations: 63.89 kB / 338.8 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1326, allocations: 7.938 kB / 338.8 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.133, allocations: 35.91 kB / 338.9 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.133, allocations: 12 kB / 338.9 MB, free: 9.434 MB / 286.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 0.0002417/0.1333, allocations: 214.1 kB / 339.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.1333, allocations: 19.72 kB / 339.1 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.073e-05/0.1334, allocations: 29.77 kB / 339.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.954e-06/0.1334, allocations: 4 kB / 339.1 MB, free: 9.164 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1335, allocations: 0 / 339.1 MB, free: 9.164 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1335, allocations: 4 kB / 339.2 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.1339, allocations: 281.5 kB / 339.4 MB, free: 8.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1339, allocations: 0 / 339.4 MB, free: 8.836 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.1342, allocations: 47.97 kB / 339.5 MB, free: 8.789 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1342, allocations: 0 / 339.5 MB, free: 8.789 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.1342, allocations: 7.922 kB / 339.5 MB, free: 8.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1342, allocations: 4 kB / 339.5 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.485e-06/0.1343, allocations: 8 kB / 339.5 MB, free: 8.77 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.1356, allocations: 389.1 kB / 339.9 MB, free: 8.371 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.1357, allocations: 96.89 kB / 340 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.1358, allocations: 7.922 kB / 340 MB, free: 8.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.1361, allocations: 40.03 kB / 340 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.1362, allocations: 15.98 kB / 340 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1362, allocations: 7.984 kB / 340 MB, free: 8.188 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002409/0.1365, allocations: 168.5 kB / 340.2 MB, free: 8.023 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1365, allocations: 3.938 kB / 340.2 MB, free: 8.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005808/0.1371, allocations: 99.75 kB / 340.3 MB, free: 7.922 MB / 286.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.0001662/0.1373, allocations: 111.3 kB / 340.4 MB, free: 7.805 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.1389, allocations: 475.8 kB / 340.9 MB, free: 7.316 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1389, allocations: 0 / 340.9 MB, free: 7.316 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.1393, allocations: 112.2 kB / 341 MB, free: 7.207 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.1398, allocations: 44.33 kB / 341 MB, free: 7.164 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.1414, allocations: 0.5979 MB / 341.6 MB, free: 6.539 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.1418, allocations: 0.7365 MB / 342.4 MB, free: 5.777 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.1421, allocations: 25.94 kB / 342.4 MB, free: 5.754 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.048e-05/0.1422, allocations: 19.44 kB / 342.4 MB, free: 5.734 MB / 286.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1422, allocations: 0 / 342.4 MB, free: 5.734 MB / 286.1 MB Notification: Performance of Templates: time 0.008462/0.1506, allocations: 2.7 MB / 345.1 MB, free: 3.043 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches