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.00157/0.00157, allocations: 114.4 kB / 17.73 MB, free: 5.32 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.001717/0.001717, allocations: 187.1 kB / 18.66 MB, free: 4.398 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.704/1.704, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.002302/0.002302, allocations: 47.94 kB / 328.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1585, allocations: 46.61 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.006276/0.1649, allocations: 2.602 MB / 377.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1669, allocations: 0.7095 MB / 378.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.1673, allocations: 4 kB / 378.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1676, allocations: 39.52 kB / 378.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.168, allocations: 91.33 kB / 378.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.1684, allocations: 91.83 kB / 378.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006202/0.1691, allocations: 338.5 kB / 379 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.1693, allocations: 80.7 kB / 379.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.1697, allocations: 123.5 kB / 379.2 MB, free: 472 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.17, allocations: 147.4 kB / 379.4 MB, free: 324 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.1701, allocations: 28 kB / 379.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.837e-05/0.1702, allocations: 28 kB / 379.4 MB, free: 268 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.1703, allocations: 59.77 kB / 379.5 MB, free: 208 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.1704, allocations: 139.3 kB / 379.6 MB, free: 68 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3317/0.5021, allocations: 290.5 kB / 379.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5022, allocations: 0 / 379.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5022, allocations: 0.7969 kB / 379.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.5022, allocations: 1.312 kB / 379.9 MB, free: 11.03 MB / 318.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.001418/0.5037, allocations: 0.6206 MB / 380.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.5037, allocations: 12.41 kB / 380.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.154e-05/0.5038, allocations: 26.75 kB / 380.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.5043, allocations: 264.4 kB / 380.8 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.5043, allocations: 12.3 kB / 380.8 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.5044, allocations: 20.53 kB / 380.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006654/0.5051, allocations: 238.5 kB / 381.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5051, allocations: 5.031 kB / 381.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.5051, allocations: 8.516 kB / 381.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.5051, allocations: 4.656 kB / 381.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008581/0.506, allocations: 244.6 kB / 381.3 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.5077, allocations: 0.8114 MB / 382.2 MB, free: 9.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009565/0.5087, allocations: 229.4 kB / 382.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.509, allocations: 96.02 kB / 382.5 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.5091, allocations: 4.031 kB / 382.5 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004983/0.5096, allocations: 162.8 kB / 382.6 MB, free: 9.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.5096, allocations: 0 / 382.6 MB, free: 9.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001195/0.5108, allocations: 295.5 kB / 382.9 MB, free: 9.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.5109, allocations: 80.31 kB / 383 MB, free: 9.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.5111, allocations: 240.6 kB / 383.2 MB, free: 9.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.5112, allocations: 31.27 kB / 383.3 MB, free: 9.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.5113, allocations: 163.5 kB / 383.4 MB, free: 9.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.5113, allocations: 36.5 kB / 383.5 MB, free: 9.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.5114, allocations: 51.53 kB / 383.5 MB, free: 9.359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.5115, allocations: 329.9 kB / 383.8 MB, free: 9.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.5118, allocations: 95.55 kB / 383.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.5122, allocations: 148.8 kB / 384.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.5128, allocations: 241.7 kB / 384.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5128, allocations: 0.9375 kB / 384.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007314/0.5136, allocations: 320.5 kB / 384.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.5136, allocations: 33.45 kB / 384.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.5137, allocations: 1.125 kB / 384.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.5137, allocations: 3.562 kB / 384.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.5139, allocations: 58.88 kB / 384.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.514, allocations: 6.469 kB / 384.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.5142, allocations: 39.94 kB / 384.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.5143, allocations: 10.27 kB / 384.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003285/0.5146, allocations: 172.7 kB / 384.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003012/0.5149, allocations: 143.6 kB / 385.1 MB, free: 8.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004841/0.5154, allocations: 220.8 kB / 385.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.233e-06/0.5154, allocations: 0 / 385.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006745/0.5161, allocations: 291.8 kB / 385.6 MB, free: 8.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.5161, allocations: 38.12 kB / 385.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5162, allocations: 1.781 kB / 385.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.5162, allocations: 4.672 kB / 385.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.5164, allocations: 53.27 kB / 385.7 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5164, allocations: 2 kB / 385.7 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.5167, allocations: 41.56 kB / 385.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.5167, allocations: 9.375 kB / 385.7 MB, free: 8.23 MB / 318.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 9.931e-05/0.5168, allocations: 200.9 kB / 385.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.5168, allocations: 20.22 kB / 385.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.5169, allocations: 26.08 kB / 386 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5169, allocations: 2.094 kB / 386 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5169, allocations: 4.031 kB / 386 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.5169, allocations: 0 / 386 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.5172, allocations: 289.2 kB / 386.3 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5172, allocations: 0 / 386.3 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.5175, allocations: 40.03 kB / 386.3 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.5175, allocations: 1.75 kB / 386.3 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.5175, allocations: 5.781 kB / 386.3 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5175, allocations: 5.25 kB / 386.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5175, allocations: 4.969 kB / 386.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009467/0.5185, allocations: 340.7 kB / 386.7 MB, free: 7.613 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.5185, allocations: 97.64 kB / 386.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.5186, allocations: 1.875 kB / 386.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.5188, allocations: 26.94 kB / 386.8 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/0.5189, allocations: 16.56 kB / 386.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.5189, allocations: 4.125 kB / 386.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.5191, allocations: 172.4 kB / 387 MB, free: 7.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.343e-06/0.5191, allocations: 4.938 kB / 387 MB, free: 7.391 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004212/0.5195, allocations: 104.8 kB / 387.1 MB, free: 7.367 MB / 318.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.0001512/0.5197, allocations: 100.9 kB / 387.2 MB, free: 7.281 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.5208, allocations: 434.6 kB / 387.6 MB, free: 7.078 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5208, allocations: 0 / 387.6 MB, free: 7.078 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.5211, allocations: 95.73 kB / 387.7 MB, free: 7.059 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.5214, allocations: 53.11 kB / 387.7 MB, free: 7.035 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.5226, allocations: 479.2 kB / 388.2 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.5228, allocations: 0.7393 MB / 388.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.5229, allocations: 26.2 kB / 389 MB, free: 6.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.523, allocations: 20.73 kB / 389 MB, free: 6.039 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.523, allocations: 0 / 389 MB, free: 6.039 MB / 318.1 MB Notification: Performance of Templates: time 0.007591/0.5306, allocations: 3.004 MB / 392 MB, free: 5.828 MB / 318.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches