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.0008897/0.0008898, allocations: 101.2 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002915, allocations: 8 kB / 307.1 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 51.53 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003011/0.1281, allocations: 2.362 MB / 361 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1293, allocations: 0.6742 MB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1294, allocations: 4 kB / 361.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.1296, allocations: 35.75 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.1298, allocations: 71.39 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.13, allocations: 63.92 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.1304, allocations: 314.6 kB / 362.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.1305, allocations: 73.11 kB / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1307, allocations: 115.5 kB / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1309, allocations: 127.4 kB / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.1309, allocations: 16 kB / 362.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.697e-05/0.131, allocations: 12 kB / 362.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.131, allocations: 51.75 kB / 362.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.004e-05/0.1311, allocations: 73.52 kB / 362.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.1314, allocations: 235.6 kB / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1314, allocations: 0 / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.1314, allocations: 0 / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1314, allocations: 0 / 362.8 MB, free: 9.18 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.001259/0.1327, allocations: 0.6223 MB / 363.5 MB, free: 8.496 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1327, allocations: 12.03 kB / 363.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.167e-05/0.1328, allocations: 23.72 kB / 363.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.1331, allocations: 266.5 kB / 363.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.1332, allocations: 12.44 kB / 363.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.1332, allocations: 27.89 kB / 363.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.1338, allocations: 297.7 kB / 364.1 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1339, allocations: 4 kB / 364.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.1339, allocations: 4 kB / 364.1 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1339, allocations: 7.984 kB / 364.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006867/0.1346, allocations: 269.6 kB / 364.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.1362, allocations: 0.9754 MB / 365.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007786/0.137, allocations: 270.5 kB / 365.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.1373, allocations: 120.8 kB / 365.7 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.1374, allocations: 0 / 365.7 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005174/0.1379, allocations: 193.8 kB / 365.9 MB, free: 5.883 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.1379, allocations: 0 / 365.9 MB, free: 5.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002159/0.1401, allocations: 0.7402 MB / 366.7 MB, free: 5.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.1402, allocations: 114.8 kB / 366.8 MB, free: 4.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.1405, allocations: 262.6 kB / 367 MB, free: 4.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.1405, allocations: 29.7 kB / 367.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1406, allocations: 171.9 kB / 367.2 MB, free: 4.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.1407, allocations: 47.42 kB / 367.3 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.1407, allocations: 0 / 367.3 MB, free: 4.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1408, allocations: 338.8 kB / 367.6 MB, free: 4.125 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.1411, allocations: 111.9 kB / 367.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.1415, allocations: 183.6 kB / 367.9 MB, free: 3.809 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.1419, allocations: 153.5 kB / 368 MB, free: 3.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1419, allocations: 0 / 368 MB, free: 3.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001088/0.143, allocations: 467.6 kB / 368.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.143, allocations: 40.72 kB / 368.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.143, allocations: 4 kB / 368.5 MB, free: 3.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003979/0.1434, allocations: 88.75 kB / 368.6 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.1436, allocations: 51.91 kB / 368.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.1459, allocations: 1.783 MB / 370.5 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.1462, allocations: 59.84 kB / 370.5 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1463, allocations: 8 kB / 370.5 MB, free: 0.9961 MB / 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 ($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 (19): * Single equations (assignments): 17 * 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.0001511/0.1464, allocations: 141.8 kB / 370.7 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.1465, allocations: 27.67 kB / 370.7 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.1465, allocations: 29.88 kB / 370.7 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1465, allocations: 0 / 370.7 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1465, allocations: 3.984 kB / 370.7 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1465, allocations: 128 / 370.7 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.1468, allocations: 297.4 kB / 371 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1468, allocations: 0 / 371 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.147, allocations: 31.97 kB / 371 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/0.1472, allocations: 84.75 kB / 371.1 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.1473, allocations: 4 kB / 371.1 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2284/0.3757, allocations: 1.655 MB / 372.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3757, allocations: 1.203 kB / 372.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.3769, allocations: 389.9 kB / 373.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.29e-05/0.377, allocations: 101.5 kB / 373.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.3771, allocations: 6.188 kB / 373.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.3773, allocations: 48.7 kB / 373.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3774, allocations: 23.44 kB / 373.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3775, allocations: 3.812 kB / 373.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003077/0.3778, allocations: 188.5 kB / 373.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3778, allocations: 0.875 kB / 373.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.3783, allocations: 73.36 kB / 373.6 MB, free: 18.46 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 (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.0001926/0.3785, allocations: 104.5 kB / 373.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.3797, allocations: 443.4 kB / 374.1 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3797, allocations: 1.531 kB / 374.1 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.3802, allocations: 238.4 kB / 374.4 MB, free: 18.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3806, allocations: 47.5 kB / 374.4 MB, free: 18.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3817, allocations: 0.5197 MB / 374.9 MB, free: 17.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.3819, allocations: 0.7477 MB / 375.7 MB, free: 17.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.382, allocations: 27.44 kB / 375.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.3821, allocations: 19.64 kB / 375.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3821, allocations: 0 / 375.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of Templates: time 0.009293/0.3914, allocations: 3.366 MB / 379.1 MB, free: 16.92 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/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