Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger,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.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,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.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, 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.22/1.22, 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.0009645/0.0009643, allocations: 98.3 kB / 271.2 MB, free: 8.449 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007406/0.0007407, allocations: 39.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2031, allocations: 46.61 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003137/0.2063, allocations: 2.767 MB / 376.6 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008676/0.2072, allocations: 0.7203 MB / 377.3 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.2073, allocations: 7.219 kB / 377.3 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.2074, allocations: 36.36 kB / 377.4 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.2076, allocations: 79.77 kB / 377.4 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.2078, allocations: 82.91 kB / 377.5 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.2081, allocations: 335.9 kB / 377.8 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.2082, allocations: 72.23 kB / 377.9 MB, free: 42.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.2083, allocations: 118.4 kB / 378 MB, free: 42.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.2085, allocations: 143.5 kB / 378.2 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.2085, allocations: 22.72 kB / 378.2 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.322e-05/0.2086, allocations: 17.62 kB / 378.2 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.459e-05/0.2086, allocations: 58.88 kB / 378.3 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.2088, allocations: 133 kB / 378.4 MB, free: 42.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.209, allocations: 311.1 kB / 378.7 MB, free: 42.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.209, allocations: 0 / 378.7 MB, free: 42.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.209, allocations: 0 / 378.7 MB, free: 42.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.209, 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.0009855/0.21, allocations: 0.6374 MB / 379.3 MB, free: 41.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.21, allocations: 10.34 kB / 379.3 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.2101, allocations: 27.31 kB / 379.4 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.2103, allocations: 284.9 kB / 379.7 MB, free: 41.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2104, allocations: 21.16 kB / 379.7 MB, free: 41.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.2104, allocations: 18.03 kB / 379.7 MB, free: 41.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.2109, allocations: 249.6 kB / 379.9 MB, free: 41.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2109, allocations: 1.125 kB / 379.9 MB, free: 41.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.211, allocations: 5.156 kB / 379.9 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.211, allocations: 6.125 kB / 379.9 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.2116, allocations: 245.6 kB / 380.2 MB, free: 40.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.2129, allocations: 0.8779 MB / 381.1 MB, free: 40.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.2136, allocations: 247.2 kB / 381.3 MB, free: 40.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.2139, allocations: 101.9 kB / 381.4 MB, free: 40.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.2139, allocations: 1.281 kB / 381.4 MB, free: 40.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.2144, allocations: 186.6 kB / 381.6 MB, free: 39.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.2144, allocations: 0 / 381.6 MB, free: 39.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002148/0.2165, allocations: 0.6731 MB / 382.3 MB, free: 39.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.2166, allocations: 105.4 kB / 382.4 MB, free: 39.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.2168, allocations: 261.8 kB / 382.6 MB, free: 39.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.2168, allocations: 27.08 kB / 382.6 MB, free: 39.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.2169, allocations: 183.1 kB / 382.8 MB, free: 39.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.2169, allocations: 45.62 kB / 382.9 MB, free: 38.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.217, allocations: 44.48 kB / 382.9 MB, free: 38.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.217, allocations: 331.2 kB / 383.2 MB, free: 38.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.2174, allocations: 106.7 kB / 383.3 MB, free: 38.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.2177, allocations: 161.1 kB / 383.5 MB, free: 38.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.2183, allocations: 264.5 kB / 383.8 MB, free: 38.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2183, allocations: 0 / 383.8 MB, free: 38.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001078/0.2194, allocations: 441.2 kB / 384.2 MB, free: 38.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.2194, allocations: 36.3 kB / 384.2 MB, free: 37.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2194, allocations: 2.062 kB / 384.2 MB, free: 37.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.2198, allocations: 76.98 kB / 384.3 MB, free: 37.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.22, allocations: 41.88 kB / 384.3 MB, free: 37.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.2219, allocations: 1.768 MB / 386.1 MB, free: 36.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.2222, allocations: 44.5 kB / 386.2 MB, free: 36.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.2222, allocations: 11 kB / 386.2 MB, free: 36.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002748/0.2225, allocations: 180.2 kB / 386.3 MB, free: 36.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002398/0.2228, allocations: 137.9 kB / 386.5 MB, free: 36.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004198/0.2232, allocations: 228.2 kB / 386.7 MB, free: 35.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.2232, allocations: 1.75 kB / 386.7 MB, free: 35.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000629/0.2238, allocations: 322 kB / 387 MB, free: 35.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2239, allocations: 44.78 kB / 387.1 MB, free: 35.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2239, allocations: 2.531 kB / 387.1 MB, free: 35.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.42e-05/0.224, allocations: 27.59 kB / 387.1 MB, free: 35.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.2242, allocations: 39.41 kB / 387.1 MB, free: 35.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006234/0.2248, allocations: 1.444 MB / 388.6 MB, free: 34.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.2251, allocations: 47.84 kB / 388.6 MB, free: 34.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.2251, allocations: 8 kB / 388.6 MB, free: 34 MB / 298.7 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 (18): * Single equations (assignments): 16 * 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.549e-05/0.2252, allocations: 189.1 kB / 388.8 MB, free: 33.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.2252, allocations: 27.66 kB / 388.8 MB, free: 33.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.2252, allocations: 25.83 kB / 388.9 MB, free: 33.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2252, allocations: 0 / 388.9 MB, free: 33.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.2253, allocations: 8 kB / 388.9 MB, free: 33.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2253, allocations: 0 / 388.9 MB, free: 33.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.2255, allocations: 289.5 kB / 389.2 MB, free: 33.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2255, allocations: 0 / 389.2 MB, free: 33.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.2256, allocations: 35.84 kB / 389.2 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/0.2258, allocations: 76.8 kB / 389.3 MB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.2258, allocations: 4 kB / 389.3 MB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.2274, allocations: 1.632 MB / 390.9 MB, free: 31.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2274, allocations: 0 / 390.9 MB, free: 31.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.2287, allocations: 1.026 MB / 391.9 MB, free: 30.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.2287, allocations: 100.8 kB / 392 MB, free: 30.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.2287, allocations: 4 kB / 392 MB, free: 30.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.229, allocations: 35.95 kB / 392.1 MB, free: 30.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.2291, allocations: 19.97 kB / 392.1 MB, free: 30.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.2291, allocations: 11.94 kB / 392.1 MB, free: 30.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.2292, allocations: 186 kB / 392.3 MB, free: 30.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2292, allocations: 0 / 392.3 MB, free: 30.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006557/0.2299, allocations: 123.7 kB / 392.4 MB, free: 29.95 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.194e-05/0.23, allocations: 107.2 kB / 392.5 MB, free: 29.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.2311, allocations: 0.6848 MB / 393.2 MB, free: 29.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2311, allocations: 0 / 393.2 MB, free: 29.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.2315, allocations: 230.9 kB / 393.4 MB, free: 28.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.2318, allocations: 52.16 kB / 393.5 MB, free: 28.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000783/0.2326, allocations: 0.6731 MB / 394.1 MB, free: 28.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.2327, allocations: 0.7522 MB / 394.9 MB, free: 27.33 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000116/0.2328, allocations: 26.28 kB / 394.9 MB, free: 27.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.2329, allocations: 15.44 kB / 394.9 MB, free: 27.29 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2329, allocations: 0 / 394.9 MB, free: 27.29 MB / 298.7 MB Notification: Performance of Templates: time 0.005705/0.2386, allocations: 4.024 MB / 399 MB, free: 23.29 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_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/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches