Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.001465, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001746/0.001746, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 53.59 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1136, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005127/0.1187, allocations: 2.763 MB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1203, allocations: 0.7167 MB / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.1205, allocations: 4 kB / 362.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.1207, allocations: 43.56 kB / 362.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.1209, allocations: 87.25 kB / 362.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.1213, allocations: 91.83 kB / 362.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000485/0.1218, allocations: 354.6 kB / 363 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.122, allocations: 82.36 kB / 363 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.1222, allocations: 143.4 kB / 363.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.1225, allocations: 143.4 kB / 363.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.1225, allocations: 28 kB / 363.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.1226, allocations: 28 kB / 363.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.217e-05/0.1227, allocations: 67.7 kB / 363.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.1229, allocations: 151.2 kB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.1233, allocations: 330.8 kB / 363.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1234, allocations: 0 / 363.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1234, allocations: 4 kB / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1234, allocations: 0 / 363.9 MB, free: 8.32 MB / 302.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.001554/0.1249, allocations: 0.6379 MB / 364.6 MB, free: 7.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.125, allocations: 11.97 kB / 364.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.1251, allocations: 32.56 kB / 364.6 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.1256, allocations: 283.6 kB / 364.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1256, allocations: 16.81 kB / 364.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.1257, allocations: 16.38 kB / 364.9 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008784/0.1266, allocations: 282.1 kB / 365.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1266, allocations: 0 / 365.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.1266, allocations: 8 kB / 365.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.1267, allocations: 8 kB / 365.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1277, allocations: 253.4 kB / 365.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.1299, allocations: 0.9403 MB / 366.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.131, allocations: 238.6 kB / 366.6 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004602/0.1315, allocations: 104.7 kB / 366.7 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1315, allocations: 0 / 366.7 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005768/0.1321, allocations: 181.8 kB / 366.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.1321, allocations: 0 / 366.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.003046/0.1352, allocations: 0.6544 MB / 367.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.1353, allocations: 110.8 kB / 367.7 MB, free: 4.309 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.1356, allocations: 266.5 kB / 367.9 MB, free: 4.043 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.1357, allocations: 29.7 kB / 368 MB, free: 4.008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.1358, allocations: 172 kB / 368.1 MB, free: 3.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.1359, allocations: 47.3 kB / 368.2 MB, free: 3.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.136, allocations: 41.7 kB / 368.2 MB, free: 3.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1362, allocations: 334.8 kB / 368.5 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.1367, allocations: 103.8 kB / 368.6 MB, free: 3.305 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/0.1372, allocations: 168.4 kB / 368.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009183/0.1382, allocations: 275 kB / 369.1 MB, free: 2.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1382, allocations: 0 / 369.1 MB, free: 2.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001706/0.1399, allocations: 431 kB / 369.5 MB, free: 2.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.14, allocations: 37.7 kB / 369.5 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.14, allocations: 0 / 369.5 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004873/0.1405, allocations: 80.86 kB / 369.6 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.1408, allocations: 43.91 kB / 369.7 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/0.1445, allocations: 1.958 MB / 371.6 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.145, allocations: 52.11 kB / 371.7 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.145, allocations: 8 kB / 371.7 MB, free: 44 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.1383/0.2833, allocations: 141 kB / 371.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.2834, allocations: 22.41 kB / 371.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.125e-05/0.2835, allocations: 27.98 kB / 371.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2835, allocations: 1.531 kB / 371.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2835, allocations: 5.531 kB / 371.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2835, allocations: 4.031 kB / 371.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.2838, allocations: 292.1 kB / 372.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2838, allocations: 1.094 kB / 372.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.284, allocations: 27.17 kB / 372.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002939/0.2843, allocations: 80.05 kB / 372.3 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.2843, allocations: 1.578 kB / 372.3 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.2863, allocations: 1.752 MB / 374 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2863, allocations: 0.5 kB / 374 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.2873, allocations: 358.1 kB / 374.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.2874, allocations: 99.92 kB / 374.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.2874, allocations: 3.797 kB / 374.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.2877, allocations: 41.05 kB / 374.5 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.2878, allocations: 19.81 kB / 374.5 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.2878, allocations: 5.422 kB / 374.5 MB, free: 18.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001765/0.288, allocations: 191.5 kB / 374.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.288, allocations: 3.625 kB / 374.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000386/0.2884, allocations: 71.08 kB / 374.8 MB, free: 18.36 MB / 302.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.0001264/0.2885, allocations: 109.9 kB / 374.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009451/0.2895, allocations: 409.6 kB / 375.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2895, allocations: 1.156 kB / 375.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004277/0.2899, allocations: 232 kB / 375.5 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.2903, allocations: 46.33 kB / 375.6 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.2912, allocations: 447.6 kB / 376 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.2914, allocations: 0.7427 MB / 376.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.2915, allocations: 26.78 kB / 376.8 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.2916, allocations: 19.7 kB / 376.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2916, allocations: 3.828 kB / 376.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of Templates: time 0.007891/0.2995, allocations: 3.854 MB / 380.7 MB, free: 16.91 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches