Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001038/0.001038, allocations: 187 kB / 17.92 MB, free: 3.855 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.254/1.254, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0009228/0.0009228, allocations: 99.98 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008483/0.0008484, allocations: 39.94 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2054, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.0034/0.2089, allocations: 2.774 MB / 376.6 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.2098, allocations: 0.7155 MB / 377.3 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.21, allocations: 7.875 kB / 377.3 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.2101, allocations: 27.08 kB / 377.4 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.2103, allocations: 81.22 kB / 377.4 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.2105, allocations: 82.39 kB / 377.5 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.2107, allocations: 336.9 kB / 377.8 MB, free: 42.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.2109, allocations: 70.89 kB / 377.9 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.211, allocations: 122.7 kB / 378 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.2112, allocations: 141.2 kB / 378.2 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.2112, allocations: 18.34 kB / 378.2 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.656e-05/0.2113, allocations: 22.06 kB / 378.2 MB, free: 42.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.2113, allocations: 57.34 kB / 378.3 MB, free: 42.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.2114, allocations: 129.9 kB / 378.4 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.2117, allocations: 318.5 kB / 378.7 MB, free: 42.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2117, allocations: 5.25 kB / 378.7 MB, free: 42.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.2117, allocations: 0 / 378.7 MB, free: 42.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2117, allocations: 0 / 378.7 MB, free: 42.11 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.001054/0.2128, allocations: 0.6378 MB / 379.4 MB, free: 41.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2128, allocations: 10.38 kB / 379.4 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.2129, allocations: 31.78 kB / 379.4 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.2131, allocations: 284.7 kB / 379.7 MB, free: 41.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.2131, allocations: 20.66 kB / 379.7 MB, free: 41.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.2132, allocations: 18.53 kB / 379.7 MB, free: 41.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.2137, allocations: 257.7 kB / 380 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2138, allocations: 0 / 380 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.2138, allocations: 6.188 kB / 380 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2138, allocations: 5.656 kB / 380 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006743/0.2145, allocations: 244.8 kB / 380.2 MB, free: 40.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.2157, allocations: 0.8783 MB / 381.1 MB, free: 40.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.2165, allocations: 239.1 kB / 381.3 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.2168, allocations: 105.7 kB / 381.4 MB, free: 40.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.2168, allocations: 1.062 kB / 381.4 MB, free: 40.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004229/0.2172, allocations: 179.2 kB / 381.6 MB, free: 39.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2173, allocations: 4 kB / 381.6 MB, free: 39.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002237/0.2195, allocations: 0.6737 MB / 382.3 MB, free: 39.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.2195, allocations: 105.1 kB / 382.4 MB, free: 39.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.2198, allocations: 268.1 kB / 382.6 MB, free: 39.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2198, allocations: 32.17 kB / 382.7 MB, free: 39.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.2199, allocations: 173.9 kB / 382.8 MB, free: 39.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.2199, allocations: 42.05 kB / 382.9 MB, free: 38.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.22, allocations: 50.58 kB / 382.9 MB, free: 38.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.661e-05/0.22, allocations: 338.8 kB / 383.3 MB, free: 38.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/0.2204, allocations: 107.3 kB / 383.4 MB, free: 38.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.2207, allocations: 173.8 kB / 383.5 MB, free: 38.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.2213, allocations: 279.7 kB / 383.8 MB, free: 38.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2213, allocations: 0 / 383.8 MB, free: 38.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00114/0.2225, allocations: 451.2 kB / 384.3 MB, free: 37.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.2225, allocations: 36.53 kB / 384.3 MB, free: 37.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2225, allocations: 2.156 kB / 384.3 MB, free: 37.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003354/0.2229, allocations: 82.61 kB / 384.4 MB, free: 37.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.2231, allocations: 44.59 kB / 384.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.2253, allocations: 1.823 MB / 386.2 MB, free: 36.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.2256, allocations: 47.78 kB / 386.3 MB, free: 36.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.2256, allocations: 8.656 kB / 386.3 MB, free: 36.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002872/0.2259, allocations: 186.4 kB / 386.5 MB, free: 36.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002556/0.2262, allocations: 164.8 kB / 386.6 MB, free: 35.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004463/0.2267, allocations: 238 kB / 386.9 MB, free: 35.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.2267, allocations: 0 / 386.9 MB, free: 35.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0006374/0.2273, allocations: 334.5 kB / 387.2 MB, free: 35.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2273, allocations: 33.7 kB / 387.2 MB, free: 35.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.2274, allocations: 3.984 kB / 387.2 MB, free: 35.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.28e-05/0.2274, allocations: 36.77 kB / 387.3 MB, free: 35.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2276, allocations: 43.91 kB / 387.3 MB, free: 35.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00052/0.2281, allocations: 1.312 MB / 388.6 MB, free: 33.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.2284, allocations: 51.89 kB / 388.7 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2284, allocations: 8 kB / 388.7 MB, free: 33.92 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 (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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 7.534e-05/0.2285, allocations: 196.4 kB / 388.9 MB, free: 33.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.2286, allocations: 23.66 kB / 388.9 MB, free: 33.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.2286, allocations: 25.83 kB / 388.9 MB, free: 33.67 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2286, allocations: 0 / 388.9 MB, free: 33.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2286, allocations: 0 / 388.9 MB, free: 33.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2286, allocations: 4 kB / 388.9 MB, free: 33.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.2288, allocations: 297.5 kB / 389.2 MB, free: 33.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2288, allocations: 4 kB / 389.2 MB, free: 33.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.2289, allocations: 23.97 kB / 389.2 MB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.2292, allocations: 80.78 kB / 389.3 MB, free: 33.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.2292, allocations: 4 kB / 389.3 MB, free: 33.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.2309, allocations: 1.725 MB / 391.1 MB, free: 31.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2309, allocations: 0 / 391.1 MB, free: 31.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.2322, allocations: 1.033 MB / 392.1 MB, free: 30.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.2322, allocations: 104.8 kB / 392.2 MB, free: 30.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.2323, allocations: 4 kB / 392.2 MB, free: 30.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.2325, allocations: 39.95 kB / 392.2 MB, free: 30.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.2326, allocations: 23.91 kB / 392.3 MB, free: 30.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.2326, allocations: 4 kB / 392.3 MB, free: 30.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.2327, allocations: 190 kB / 392.4 MB, free: 29.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2327, allocations: 0 / 392.4 MB, free: 29.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006436/0.2334, allocations: 127.7 kB / 392.6 MB, free: 29.76 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 9.497e-05/0.2335, allocations: 95.25 kB / 392.7 MB, free: 29.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.2349, allocations: 0.7621 MB / 393.4 MB, free: 28.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2349, allocations: 4.062 kB / 393.4 MB, free: 28.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.2353, allocations: 226.6 kB / 393.6 MB, free: 28.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.2356, allocations: 50.84 kB / 393.7 MB, free: 28.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.2381, allocations: 1.115 MB / 394.8 MB, free: 27.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.2383, allocations: 0.7522 MB / 395.6 MB, free: 26.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.2384, allocations: 26.33 kB / 395.6 MB, free: 26.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.2385, allocations: 23.44 kB / 395.6 MB, free: 26.57 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2385, allocations: 0 / 395.6 MB, free: 26.57 MB / 298.7 MB Notification: Performance of Templates: time 0.005493/0.244, allocations: 3.981 MB / 399.6 MB, free: 22.62 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches