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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 108 kB / 18.4 MB, free: 4.703 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.001219/0.001219, allocations: 194.3 kB / 19.33 MB, free: 3.781 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.436/1.436, 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.001138/0.001138, allocations: 52.22 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09364, allocations: 46.61 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003813/0.0975, allocations: 2.72 MB / 378.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.0987, allocations: 0.7251 MB / 379.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.09885, allocations: 7.938 kB / 379.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.09901, allocations: 39.58 kB / 379.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.09921, allocations: 91.25 kB / 379.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.09948, allocations: 95.83 kB / 379.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.09986, allocations: 362.4 kB / 379.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.1001, allocations: 72.72 kB / 379.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1002, allocations: 143.4 kB / 380.1 MB, free: 300 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.1004, allocations: 151.4 kB / 380.2 MB, free: 148 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.572e-05/0.1005, allocations: 32 kB / 380.3 MB, free: 116 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.253e-05/0.1005, allocations: 28 kB / 380.3 MB, free: 88 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/0.1006, allocations: 67.69 kB / 380.4 MB, free: 20 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2112/0.3118, allocations: 139 kB / 380.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.3124, allocations: 328.9 kB / 380.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3124, allocations: 0 / 380.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3124, allocations: 0 / 380.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.3124, allocations: 1.375 kB / 380.8 MB, free: 10.11 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001193/0.3136, allocations: 0.6331 MB / 381.4 MB, free: 9.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3136, allocations: 10.7 kB / 381.5 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.441e-05/0.3137, allocations: 32.06 kB / 381.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.3141, allocations: 284.2 kB / 381.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.3142, allocations: 16.94 kB / 381.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.3142, allocations: 22.41 kB / 381.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006261/0.3149, allocations: 243.8 kB / 382 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3149, allocations: 9.766 kB / 382 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.3149, allocations: 8.125 kB / 382.1 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.3149, allocations: 5.5 kB / 382.1 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006998/0.3156, allocations: 248.2 kB / 382.3 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.3171, allocations: 0.8653 MB / 383.2 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/0.318, allocations: 244.5 kB / 383.4 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.3184, allocations: 99.73 kB / 383.5 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3184, allocations: 6.984 kB / 383.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004758/0.3189, allocations: 181.6 kB / 383.7 MB, free: 8.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.3189, allocations: 0 / 383.7 MB, free: 8.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002322/0.3212, allocations: 0.6692 MB / 384.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.3213, allocations: 110.2 kB / 384.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.3216, allocations: 265.3 kB / 384.7 MB, free: 8.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3216, allocations: 29.14 kB / 384.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3217, allocations: 174.7 kB / 384.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.3218, allocations: 39.48 kB / 385 MB, free: 8.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-05/0.3218, allocations: 46.17 kB / 385 MB, free: 8.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.3219, allocations: 333.9 kB / 385.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.3223, allocations: 106.4 kB / 385.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.3226, allocations: 162.5 kB / 385.6 MB, free: 7.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.3232, allocations: 257.5 kB / 385.8 MB, free: 7.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3232, allocations: 0 / 385.8 MB, free: 7.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001141/0.3244, allocations: 442.4 kB / 386.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.3244, allocations: 33.73 kB / 386.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3244, allocations: 4.938 kB / 386.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/0.3248, allocations: 79.45 kB / 386.4 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.325, allocations: 37.89 kB / 386.4 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.3273, allocations: 1.981 MB / 388.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.3276, allocations: 41.61 kB / 388.5 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.3276, allocations: 10.66 kB / 388.5 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003063/0.3279, allocations: 179.7 kB / 388.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002622/0.3282, allocations: 143.3 kB / 388.8 MB, free: 5.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004457/0.3287, allocations: 224.6 kB / 389 MB, free: 5.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.3287, allocations: 1.812 kB / 389 MB, free: 5.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006769/0.3294, allocations: 316.8 kB / 389.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3294, allocations: 41.88 kB / 389.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.3294, allocations: 1.938 kB / 389.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.789e-05/0.3295, allocations: 29.61 kB / 389.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.3297, allocations: 40.47 kB / 389.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008358/0.3305, allocations: 1.617 MB / 391 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.3308, allocations: 47.41 kB / 391.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.3309, allocations: 10.5 kB / 391.1 MB, free: 3.988 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 (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 0.0001333/0.331, allocations: 198 kB / 391.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.3311, allocations: 18.66 kB / 391.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.3311, allocations: 27.42 kB / 391.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3311, allocations: 1.188 kB / 391.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3311, allocations: 1.219 kB / 391.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3311, allocations: 5.312 kB / 391.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.3315, allocations: 301 kB / 391.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3315, allocations: 3.938 kB / 391.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.3316, allocations: 22.34 kB / 391.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002541/0.3319, allocations: 78.55 kB / 391.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3319, allocations: 1.812 kB / 391.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.3338, allocations: 1.758 MB / 393.5 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.3338, allocations: 1.062 kB / 393.5 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009867/0.3348, allocations: 364.2 kB / 393.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.3349, allocations: 98.27 kB / 394 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.3349, allocations: 6.094 kB / 394 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.3351, allocations: 29.25 kB / 394 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.3352, allocations: 23.55 kB / 394 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3352, allocations: 7.172 kB / 394 MB, free: 1.742 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.3354, allocations: 196 kB / 394.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.61e-07/0.3354, allocations: 0 / 394.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005702/0.336, allocations: 126.6 kB / 394.3 MB, free: 1.602 MB / 318.1 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 0.0001292/0.3361, allocations: 106.4 kB / 394.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.3374, allocations: 0.6881 MB / 395.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3375, allocations: 4 kB / 395.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.3379, allocations: 222.9 kB / 395.3 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3382, allocations: 48.58 kB / 395.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000968/0.3392, allocations: 478.6 kB / 395.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.3395, allocations: 0.747 MB / 396.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.3396, allocations: 19.22 kB / 396.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3396, allocations: 5.156 kB / 396.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of Templates: time 0.00813/0.3477, allocations: 4.254 MB / 400.9 MB, free: 15.15 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches