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.001234/0.001234, allocations: 114.5 kB / 18.41 MB, free: 4.691 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.001197/0.001197, allocations: 182.2 kB / 19.34 MB, free: 3.777 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.307/1.307, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001153/0.001153, allocations: 47.94 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06947/0.07063, allocations: 46.62 MB / 375.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003248/0.07391, allocations: 2.594 MB / 378.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.07493, allocations: 0.7135 MB / 379.2 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.07506, allocations: 4 kB / 379.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.07519, allocations: 39.58 kB / 379.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.07536, allocations: 83.33 kB / 379.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.07561, allocations: 95.81 kB / 379.4 MB, free: 1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.07595, allocations: 330.5 kB / 379.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.07613, allocations: 84.69 kB / 379.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.07631, allocations: 127.5 kB / 379.9 MB, free: 480 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.07649, allocations: 139.4 kB / 380 MB, free: 340 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.07654, allocations: 28 kB / 380.1 MB, free: 312 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.49e-05/0.07659, allocations: 28 kB / 380.1 MB, free: 284 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.07666, allocations: 67.75 kB / 380.2 MB, free: 216 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.07679, allocations: 131.3 kB / 380.3 MB, free: 84 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1401/0.2169, allocations: 297.7 kB / 380.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.217, allocations: 0 / 380.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.217, allocations: 0 / 380.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.217, allocations: 0 / 380.6 MB, free: 10.45 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.001142/0.2181, allocations: 0.618 MB / 381.2 MB, free: 9.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2182, allocations: 9.625 kB / 381.2 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.83e-05/0.2183, allocations: 27.33 kB / 381.2 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.2186, allocations: 267.5 kB / 381.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2186, allocations: 17.58 kB / 381.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.2186, allocations: 17.39 kB / 381.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.2192, allocations: 239.6 kB / 381.8 MB, free: 9.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2193, allocations: 5.312 kB / 381.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.2193, allocations: 11.22 kB / 381.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2193, allocations: 4.734 kB / 381.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007346/0.22, allocations: 243.8 kB / 382 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.2213, allocations: 0.8034 MB / 382.8 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/0.2221, allocations: 234.8 kB / 383.1 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.2224, allocations: 98.47 kB / 383.2 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.2225, allocations: 2.406 kB / 383.2 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/0.2229, allocations: 158.8 kB / 383.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.2229, allocations: 0 / 383.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.00103/0.2239, allocations: 294.9 kB / 383.6 MB, free: 9.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.224, allocations: 82.8 kB / 383.7 MB, free: 9.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.2242, allocations: 235.9 kB / 383.9 MB, free: 8.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.2242, allocations: 34.7 kB / 383.9 MB, free: 8.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.2243, allocations: 161.9 kB / 384.1 MB, free: 8.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.2243, allocations: 43.56 kB / 384.2 MB, free: 8.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.2244, allocations: 46.41 kB / 384.2 MB, free: 8.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.2244, allocations: 328.2 kB / 384.5 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.2248, allocations: 93.27 kB / 384.6 MB, free: 8.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.2251, allocations: 147.3 kB / 384.8 MB, free: 8.395 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005702/0.2257, allocations: 246.1 kB / 385 MB, free: 8.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2257, allocations: 1.609 kB / 385 MB, free: 8.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007343/0.2264, allocations: 314.3 kB / 385.3 MB, free: 8.219 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.2264, allocations: 38.62 kB / 385.3 MB, free: 8.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2265, allocations: 1.812 kB / 385.3 MB, free: 8.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2265, allocations: 9.734 kB / 385.3 MB, free: 8.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.2267, allocations: 55.25 kB / 385.4 MB, free: 8.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2268, allocations: 2.969 kB / 385.4 MB, free: 8.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.227, allocations: 39.66 kB / 385.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.2271, allocations: 7 kB / 385.5 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003048/0.2274, allocations: 179.4 kB / 385.6 MB, free: 8.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002705/0.2277, allocations: 138.1 kB / 385.8 MB, free: 8.023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004766/0.2281, allocations: 227.5 kB / 386 MB, free: 7.934 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/0.2282, allocations: 0 / 386 MB, free: 7.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006248/0.2288, allocations: 286.1 kB / 386.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2288, allocations: 38 kB / 386.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.2288, allocations: 1.125 kB / 386.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/0.2288, allocations: 2.25 kB / 386.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.2291, allocations: 59.03 kB / 386.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.2291, allocations: 1.438 kB / 386.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.2293, allocations: 36.69 kB / 386.4 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.2294, allocations: 11.5 kB / 386.4 MB, free: 7.801 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 7.088e-05/0.2294, allocations: 201.8 kB / 386.6 MB, free: 7.613 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.2295, allocations: 24.36 kB / 386.6 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.2295, allocations: 26.34 kB / 386.7 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2295, allocations: 0.6094 kB / 386.7 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2295, allocations: 1.781 kB / 386.7 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.2296, allocations: 99.12 kB / 386.8 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.2296, allocations: 1.75 kB / 386.8 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.2299, allocations: 29.41 kB / 386.8 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.2299, allocations: 23.89 kB / 386.8 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000823/0.2308, allocations: 315.2 kB / 387.1 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009382/0.2317, allocations: 492 kB / 387.6 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002926/0.232, allocations: 94.39 kB / 387.7 MB, free: 7.137 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.2322, allocations: 175.1 kB / 387.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of Backend: time 3.1e-07/0.2322, allocations: 0 / 387.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009771/0.2331, allocations: 428.9 kB / 388.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007784/0.2339, allocations: 0.9084 MB / 389.2 MB, free: 6.039 MB / 318.1 MB Notification: Performance of Templates: time 0.007262/0.2412, allocations: 3.888 MB / 393.1 MB, free: 5.789 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/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