Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001949/0.001949, allocations: 178.4 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007076/0.0007076, allocations: 86.41 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.000327, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.226, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002314/0.2284, allocations: 2.313 MB / 377.4 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2295, allocations: 0.681 MB / 378.1 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2296, allocations: 8.188 kB / 378.1 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.2297, allocations: 27.98 kB / 378.1 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.2299, allocations: 75.34 kB / 378.2 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.2301, allocations: 70.88 kB / 378.3 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.2305, allocations: 324.3 kB / 378.6 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.2306, allocations: 71.58 kB / 378.7 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.2308, allocations: 112.2 kB / 378.8 MB, free: 42.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.231, allocations: 128.7 kB / 378.9 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.231, allocations: 14.56 kB / 378.9 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.505e-05/0.2311, allocations: 15.47 kB / 378.9 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.2311, allocations: 54.44 kB / 379 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.2313, allocations: 149.9 kB / 379.1 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.2315, allocations: 237.5 kB / 379.4 MB, free: 42.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2315, allocations: 4 kB / 379.4 MB, free: 42.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2315, allocations: 0 / 379.4 MB, free: 42.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.2315, allocations: 1.406 kB / 379.4 MB, free: 42.19 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001052/0.2326, allocations: 0.6107 MB / 380 MB, free: 41.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2326, allocations: 8.906 kB / 380 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.648e-05/0.2327, allocations: 40.61 kB / 380 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.233, allocations: 276.6 kB / 380.3 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.233, allocations: 25.22 kB / 380.3 MB, free: 41.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.2331, allocations: 17.62 kB / 380.3 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.2336, allocations: 266.4 kB / 380.6 MB, free: 41.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2336, allocations: 0 / 380.6 MB, free: 41.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.2337, allocations: 5.406 kB / 380.6 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2337, allocations: 5.469 kB / 380.6 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007036/0.2344, allocations: 271 kB / 380.9 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.2357, allocations: 0.8972 MB / 381.8 MB, free: 40.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000796/0.2365, allocations: 274.2 kB / 382 MB, free: 40.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.2369, allocations: 115.1 kB / 382.1 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.237, allocations: 1.5 kB / 382.1 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004894/0.2375, allocations: 199 kB / 382.3 MB, free: 39.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.385e-06/0.2375, allocations: 4 kB / 382.3 MB, free: 39.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002381/0.2399, allocations: 0.7512 MB / 383.1 MB, free: 39.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.2399, allocations: 108.8 kB / 383.2 MB, free: 39.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.2402, allocations: 267.4 kB / 383.5 MB, free: 39.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.2403, allocations: 30.73 kB / 383.5 MB, free: 39.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.2404, allocations: 179 kB / 383.7 MB, free: 39.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.2404, allocations: 41.12 kB / 383.7 MB, free: 39.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.2404, allocations: 9.094 kB / 383.7 MB, free: 39.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.2405, allocations: 335.8 kB / 384 MB, free: 38.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.2408, allocations: 119.4 kB / 384.2 MB, free: 38.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.2412, allocations: 188.2 kB / 384.3 MB, free: 38.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000655/0.2419, allocations: 306.5 kB / 384.6 MB, free: 38.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2419, allocations: 4.812 kB / 384.7 MB, free: 38.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001219/0.2431, allocations: 492.2 kB / 385.1 MB, free: 38.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.719e-05/0.2432, allocations: 174.3 kB / 385.3 MB, free: 37.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.2433, allocations: 2.344 kB / 385.3 MB, free: 37.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003703/0.2436, allocations: 86.08 kB / 385.4 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.2438, allocations: 47.03 kB / 385.4 MB, free: 37.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.2461, allocations: 1.873 MB / 387.3 MB, free: 35.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.2464, allocations: 59.8 kB / 387.4 MB, free: 35.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.2464, allocations: 15.98 kB / 387.4 MB, free: 35.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/0.2465, allocations: 4 kB / 387.4 MB, free: 35.86 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006023/0.2471, allocations: 310.3 kB / 387.7 MB, free: 35.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.2471, allocations: 4 kB / 387.7 MB, free: 35.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.882e-05/0.2471, allocations: 24.84 kB / 387.7 MB, free: 35.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.2473, allocations: 51.89 kB / 387.8 MB, free: 35.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005723/0.2479, allocations: 1.308 MB / 389.1 MB, free: 34.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.2482, allocations: 47.88 kB / 389.1 MB, free: 33.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.2482, allocations: 11.98 kB / 389.1 MB, free: 33.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.2484, allocations: 217.9 kB / 389.3 MB, free: 33.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.2485, allocations: 27.66 kB / 389.4 MB, free: 33.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.2485, allocations: 21.83 kB / 389.4 MB, free: 33.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2485, allocations: 4 kB / 389.4 MB, free: 33.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2485, allocations: 0 / 389.4 MB, free: 33.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2485, allocations: 0 / 389.4 MB, free: 33.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.2488, allocations: 297.4 kB / 389.7 MB, free: 33.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2488, allocations: 7.938 kB / 389.7 MB, free: 33.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.249, allocations: 31.91 kB / 389.7 MB, free: 33.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002955/0.2493, allocations: 80.8 kB / 389.8 MB, free: 33.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.2493, allocations: 8 kB / 389.8 MB, free: 33.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.2512, allocations: 1.752 MB / 391.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2512, allocations: 3.938 kB / 391.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.2521, allocations: 399.6 kB / 392 MB, free: 30.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.2521, allocations: 104.8 kB / 392.1 MB, free: 30.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.2522, allocations: 4 kB / 392.1 MB, free: 30.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.2524, allocations: 35.97 kB / 392.1 MB, free: 30.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.2525, allocations: 27.97 kB / 392.1 MB, free: 30.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.2525, allocations: 3.984 kB / 392.1 MB, free: 30.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.2527, allocations: 197.9 kB / 392.3 MB, free: 30.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2527, allocations: 0 / 392.3 MB, free: 30.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004828/0.2532, allocations: 111.8 kB / 392.4 MB, free: 30.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000111/0.2533, allocations: 107.2 kB / 392.5 MB, free: 30.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.2547, allocations: 0.8048 MB / 393.3 MB, free: 29.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2547, allocations: 4 kB / 393.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.2551, allocations: 251 kB / 393.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.2555, allocations: 55.38 kB / 393.6 MB, free: 29.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.2581, allocations: 1.07 MB / 394.7 MB, free: 28.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.2583, allocations: 0.7483 MB / 395.5 MB, free: 27.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.2584, allocations: 19.44 kB / 395.5 MB, free: 27.25 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2584, allocations: 0 / 395.5 MB, free: 27.25 MB / 298.7 MB Notification: Performance of Templates: time 0.004839/0.2632, allocations: 4.191 MB / 399.7 MB, free: 23.07 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches