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.001102/0.001102, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.9 MB, free: 10.69 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 63.36 kB / 306.9 MB, free: 1.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08637/0.08751, allocations: 50.54 MB / 357.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004192/0.09174, allocations: 2.916 MB / 360.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.09319, allocations: 0.7519 MB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.09341, allocations: 4 kB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.09357, allocations: 31.77 kB / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.0938, allocations: 91.36 kB / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.09409, allocations: 91.94 kB / 361.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.09441, allocations: 366.5 kB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.09463, allocations: 107.8 kB / 361.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.09487, allocations: 143.4 kB / 361.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.09505, allocations: 151.2 kB / 362.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.0951, allocations: 24 kB / 362.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.09515, allocations: 20 kB / 362.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.09522, allocations: 55.77 kB / 362.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.09536, allocations: 151.2 kB / 362.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.09564, allocations: 335.4 kB / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09565, allocations: 0 / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.09566, allocations: 0 / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.09567, allocations: 7.938 kB / 362.7 MB, free: 9.242 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.00121/0.09689, allocations: 0.6614 MB / 363.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.09693, allocations: 12.03 kB / 363.3 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.09701, allocations: 32.56 kB / 363.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.09733, allocations: 288.6 kB / 363.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.09735, allocations: 20.94 kB / 363.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.09741, allocations: 24.38 kB / 363.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006771/0.09809, allocations: 323.9 kB / 364 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.09811, allocations: 3.984 kB / 364 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.09815, allocations: 12 kB / 364 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.09816, allocations: 12 kB / 364 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007702/0.09894, allocations: 270.1 kB / 364.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.1007, allocations: 1.119 MB / 365.4 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008385/0.1016, allocations: 242.5 kB / 365.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.1019, allocations: 104.8 kB / 365.8 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1019, allocations: 7.938 kB / 365.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004819/0.1024, allocations: 173 kB / 365.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.1024, allocations: 0 / 365.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001001/0.1034, allocations: 309.1 kB / 366.2 MB, free: 5.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.1035, allocations: 85.05 kB / 366.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.1038, allocations: 262.6 kB / 366.6 MB, free: 5.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1038, allocations: 33.7 kB / 366.6 MB, free: 5.031 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1039, allocations: 195.5 kB / 366.8 MB, free: 4.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.104, allocations: 39.53 kB / 366.8 MB, free: 4.797 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.1041, allocations: 49.61 kB / 366.9 MB, free: 4.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1042, allocations: 338.8 kB / 367.2 MB, free: 4.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.1046, allocations: 100.1 kB / 367.3 MB, free: 4.301 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.1049, allocations: 197.3 kB / 367.5 MB, free: 4.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/0.1056, allocations: 299.7 kB / 367.8 MB, free: 3.734 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1056, allocations: 4 kB / 367.8 MB, free: 3.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008503/0.1065, allocations: 365.2 kB / 368.2 MB, free: 3.363 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.1065, allocations: 37.69 kB / 368.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1065, allocations: 0 / 368.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1066, allocations: 4 kB / 368.2 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.1069, allocations: 67.89 kB / 368.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1069, allocations: 4 kB / 368.3 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.1072, allocations: 51.8 kB / 368.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.1072, allocations: 16 kB / 368.3 MB, free: 3.18 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.0001325/0.1073, allocations: 141.7 kB / 368.5 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.1074, allocations: 23.72 kB / 368.5 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.1074, allocations: 25.7 kB / 368.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1075, allocations: 7.938 kB / 368.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1075, allocations: 0 / 368.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1075, allocations: 3.938 kB / 368.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.1078, allocations: 313.5 kB / 368.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1078, allocations: 3.938 kB / 368.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.108, allocations: 39.97 kB / 368.9 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.108, allocations: 3.984 kB / 368.9 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.1081, allocations: 0 / 368.9 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1081, allocations: 3.938 kB / 368.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1081, allocations: 0 / 368.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1091, allocations: 381 kB / 369.3 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.1092, allocations: 96.8 kB / 369.4 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.1092, allocations: 15.98 kB / 369.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.1095, allocations: 23.97 kB / 369.4 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.1095, allocations: 19.92 kB / 369.4 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.1096, allocations: 7.922 kB / 369.4 MB, free: 1.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.1097, allocations: 194 kB / 369.6 MB, free: 1.805 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1098, allocations: 0 / 369.6 MB, free: 1.805 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.1101, allocations: 63.84 kB / 369.7 MB, free: 1.742 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.0001266/0.1102, allocations: 99.25 kB / 369.8 MB, free: 1.637 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007597/0.111, allocations: 295.2 kB / 370.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.111, allocations: 4 kB / 370.1 MB, free: 1.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.1113, allocations: 104.5 kB / 370.2 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1116, allocations: 48.53 kB / 370.2 MB, free: 1.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1128, allocations: 0.6498 MB / 370.9 MB, free: 0.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1412/0.254, allocations: 0.7456 MB / 371.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.2542, allocations: 23.28 kB / 371.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2542, allocations: 0 / 371.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of Templates: time 0.006553/0.2608, allocations: 3.318 MB / 375 MB, free: 19.7 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