Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001091/0.001091, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.421/1.421, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0008133/0.0008135, allocations: 89.11 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004714, allocations: 16 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2749, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002844/0.2778, allocations: 2.311 MB / 376.9 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2789, allocations: 0.6842 MB / 377.6 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.2791, allocations: 8.344 kB / 377.6 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.2792, allocations: 27.27 kB / 377.6 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.2794, allocations: 84.41 kB / 377.7 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.2796, allocations: 70.28 kB / 377.7 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.2799, allocations: 314.1 kB / 378 MB, free: 42.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.2801, allocations: 69.36 kB / 378.1 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.2803, allocations: 111.7 kB / 378.2 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2804, allocations: 128 kB / 378.4 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.2805, allocations: 15.59 kB / 378.4 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.676e-05/0.2805, allocations: 15 kB / 378.4 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.2806, allocations: 54.62 kB / 378.4 MB, free: 42.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.2807, allocations: 68.77 kB / 378.5 MB, free: 42.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.2809, allocations: 241 kB / 378.7 MB, free: 42.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2809, allocations: 0 / 378.7 MB, free: 42.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.2809, allocations: 1.156 kB / 378.7 MB, free: 42.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2809, allocations: 3.938 kB / 378.7 MB, free: 42.25 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.001072/0.282, allocations: 0.6054 MB / 379.3 MB, free: 41.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.282, allocations: 12.72 kB / 379.4 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.04e-05/0.2821, allocations: 31.22 kB / 379.4 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.2824, allocations: 275.6 kB / 379.7 MB, free: 41.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.2824, allocations: 12.56 kB / 379.7 MB, free: 41.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.2825, allocations: 25.72 kB / 379.7 MB, free: 41.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.2831, allocations: 258 kB / 379.9 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2832, allocations: 3.938 kB / 380 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.2832, allocations: 10.25 kB / 380 MB, free: 41.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2832, allocations: 5.25 kB / 380 MB, free: 41.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007729/0.284, allocations: 279 kB / 380.2 MB, free: 41.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.2855, allocations: 0.894 MB / 381.1 MB, free: 40.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008535/0.2863, allocations: 279.3 kB / 381.4 MB, free: 40.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.2867, allocations: 117.8 kB / 381.5 MB, free: 40.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.2867, allocations: 5.531 kB / 381.5 MB, free: 40.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/0.2872, allocations: 192 kB / 381.7 MB, free: 40.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.2872, allocations: 0 / 381.7 MB, free: 40.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002519/0.2898, allocations: 0.7502 MB / 382.5 MB, free: 39.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.2898, allocations: 105 kB / 382.6 MB, free: 39.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.2901, allocations: 268.2 kB / 382.8 MB, free: 39.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.2901, allocations: 30.86 kB / 382.9 MB, free: 39.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.2902, allocations: 178.3 kB / 383 MB, free: 39.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.2902, allocations: 37.55 kB / 383.1 MB, free: 39.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.2902, allocations: 5.031 kB / 383.1 MB, free: 39.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.2903, allocations: 332.1 kB / 383.4 MB, free: 38.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.2907, allocations: 113.1 kB / 383.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.291, allocations: 180.3 kB / 383.7 MB, free: 38.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.2914, allocations: 139.1 kB / 383.8 MB, free: 38.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2914, allocations: 0.875 kB / 383.8 MB, free: 38.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001363/0.2928, allocations: 480.6 kB / 384.3 MB, free: 38.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.468e-05/0.2929, allocations: 160.3 kB / 384.4 MB, free: 38.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2929, allocations: 1.938 kB / 384.5 MB, free: 38.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/0.2933, allocations: 93.88 kB / 384.5 MB, free: 38.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.2935, allocations: 51.11 kB / 384.6 MB, free: 38.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.2957, allocations: 1.799 MB / 386.4 MB, free: 36.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.2961, allocations: 59.91 kB / 386.5 MB, free: 36.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.2962, allocations: 13.5 kB / 386.5 MB, free: 36.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.2962, allocations: 0 / 386.5 MB, free: 36.45 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006352/0.2968, allocations: 303.8 kB / 386.8 MB, free: 36.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2968, allocations: 3.984 kB / 386.8 MB, free: 36.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-05/0.2969, allocations: 28.97 kB / 386.8 MB, free: 36.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.2971, allocations: 47.91 kB / 386.8 MB, free: 36.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000677/0.2978, allocations: 1.436 MB / 388.3 MB, free: 34.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.2981, allocations: 47.84 kB / 388.3 MB, free: 34.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.2981, allocations: 7.984 kB / 388.3 MB, free: 34.43 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 ($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 (18): * Single equations (assignments): 16 * 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.0001457/0.2982, allocations: 217.1 kB / 388.5 MB, free: 34.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.2983, allocations: 23.72 kB / 388.6 MB, free: 34.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.2983, allocations: 25.83 kB / 388.6 MB, free: 34.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2983, allocations: 7.891 kB / 388.6 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2983, allocations: 0 / 388.6 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2983, allocations: 0 / 388.6 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.2985, allocations: 293.5 kB / 388.9 MB, free: 33.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2985, allocations: 0 / 388.9 MB, free: 33.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.2987, allocations: 31.97 kB / 388.9 MB, free: 33.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002453/0.2989, allocations: 84.8 kB / 389 MB, free: 33.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.299, allocations: 0 / 389 MB, free: 33.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.3007, allocations: 1.675 MB / 390.7 MB, free: 31.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3007, allocations: 4.062 kB / 390.7 MB, free: 31.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009566/0.3016, allocations: 389.5 kB / 391.1 MB, free: 31.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.3017, allocations: 100.8 kB / 391.2 MB, free: 31.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.3017, allocations: 4 kB / 391.2 MB, free: 31.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.302, allocations: 43.95 kB / 391.2 MB, free: 31.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.3021, allocations: 19.97 kB / 391.2 MB, free: 31.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3021, allocations: 4 kB / 391.2 MB, free: 31.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.3022, allocations: 198 kB / 391.4 MB, free: 31.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3022, allocations: 0 / 391.4 MB, free: 31.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004801/0.3027, allocations: 123.7 kB / 391.5 MB, free: 30.99 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.0001131/0.3028, allocations: 99.19 kB / 391.6 MB, free: 30.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.3041, allocations: 0.7228 MB / 392.4 MB, free: 30.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3041, allocations: 0 / 392.4 MB, free: 30.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.3045, allocations: 250.9 kB / 392.6 MB, free: 29.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.3049, allocations: 47.42 kB / 392.7 MB, free: 29.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008306/0.3057, allocations: 0.5582 MB / 393.2 MB, free: 29.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.3059, allocations: 0.7483 MB / 394 MB, free: 28.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.374e-05/0.3059, allocations: 19.44 kB / 394 MB, free: 28.43 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3059, allocations: 0 / 394 MB, free: 28.43 MB / 298.7 MB Notification: Performance of Templates: time 0.004692/0.3106, allocations: 4.165 MB / 398.1 MB, free: 24.28 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches